Posts
808
Comments
670
Trackbacks
1
T-SQL Avoid Divide by Zero errors

If you know you are going to have zeros appear in the denominator of formulas in a stored procedure or function, use the nullif function to null them out, e.g. nullif(, 0).

posted on Tuesday, April 26, 2005 10:40 AM
Comments
No comments posted yet.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 8 and 5 and type the answer here: