Working with NULL Values : Null : Data Type SQL / MySQL


SQL / MySQL » Data Type » Null »

 

Working with NULL Values



/*
mysql> /*
mysql> NULL means a missing unknown value
mysql>      is treated somewhat differently than other values.
mysql> */
mysql> SELECT = NULL, <> NULL, < NULL, > NULL;
+----------+-----------+----------+----------+
= NULL | <> NULL | < NULL | > NULL |
+----------+-----------+----------+----------+
|     NULL |      NULL |     NULL |     NULL |
+----------+-----------+----------+----------+
row in set (0.00 sec)


*/  

/*
NULL means a missing unknown value
     is treated somewhat differently than other values. 
*/

SELECT = NULL, <> NULL, < NULL, > NULL;

           
       



Leave a Comment / Note


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

Follow Navioo On Twitter

SQL / MySQL

 Navioo Data Type
» Null