|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ERROR_FOR_DIVISION_BY_ZERO question
Hello all,
Currently, if I use sql_mode ERRR_FR_DIVISIN_BY_ZER and have a select statement that has division by zero, I get back a warning: mysqlset ; Query K, 0 rows affected (0.00 sec) mysqlselect 1/0; ++ | 1/0 | ++ | NULL | ++ 1 row in set, 1 warning (0.00 sec) mysqlshow warnings; | Level | Code | Message | | Error | 1365 | Division by 0 | 1 row in set (0.00 sec) Is there a way to force an error instead? Thanks, Paul |
![]() |
| Viewing: Web Development Archives > Mailing Lists > MYSQL > ERROR_FOR_DIVISION_BY_ZERO question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|