How MySQL store true and false : Boolean « Data Type « SQL / MySQL






How MySQL store true and false

      
mysql>
mysql> SELECT TRUE, FALSE;
+------+-------+
| TRUE | FALSE |
+------+-------+
|    1 |     0 |
+------+-------+
1 row in set (0.00 sec)

mysql>

   
    
    
    
    
    
  








Related examples in the same category

1.Get the values of the literals TRUE and FALSE.
2.MySQL evaluates a true expression to 1 and a false expression to 0