Is it possible to tell the MySQL server to throw an error on division-by-zero rather than converting it to NULL and a warning?

A. No, it has to be done programmatically.
B. Yes, by updating a system variable.
C. Yes, there is a SQL mode that exists for that.  
D. No, division-by-zero is always converted regardless of any setting.

Answer: C


0 comments: