Mega Code Archive
How can i generate an error for select statements that divide by zero
Question:
How can I generate an error for SELECT statements that
divide by zero?
Answer:
How and whether you can do this depends on the database.
SQL Links will raise errors an error if the client raises
an error that is above informational. Informational
errors (such as seen with Sybase) cannot be raised.