Division by zero produces a NULL result : Arithmetic Operators : Math Numeric Functions MySQL TUTORIALS


MySQL TUTORIALS » Math Numeric Functions » Arithmetic Operators »

 

Division by zero produces a NULL result


mysql>
mysql> SELECT 102/(1-1);
+-----------+
102/(1-1|
+-----------+
|      NULL |
+-----------+
row in set (0.00 sec)

mysql>
mysql>
mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Math Numeric Functions
» Arithmetic Operators