akawn.com
Handling divide by zero
In SQL Server when you divide by 0 you get an error. 0 divided by a number works just fine. Back to the topic; handling divide by 0 is typically performed using CASE –declare a table DECLARE …