SELECT CAST(1 AS UNSIGNED) - 2.0; : CAST : Cast Functions Operators MySQL TUTORIALS


MySQL TUTORIALS » Cast Functions Operators » CAST »

 

SELECT CAST(1 AS UNSIGNED) - 2.0;


mysql>
mysql> SELECT CAST(AS UNSIGNED2.0;
+---------------------------+
| CAST(AS UNSIGNED2.0 |
+---------------------------+
|                      -1.0 |
+---------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Cast Functions Operators
» CAST