-
The SQL mode to check for divide by zero error is ________________.
-
- ERROR_DIVIDE_BY_ZERO
- ERROR_WHEN_DIVIDE_BY_ZERO
- ERROR_FOR_DIVISION_BY_ZERO
- STRICT_ALL_TABLES
- None of these
Correct Option: C
To enable the check for divide by zero errors int all the storage engines, the SQL mode named ‘ERROR_FOR_DIVISION_BY_ZERO’ can be enabled. This is done by using SET sql_mode = ‘mode_name’.