NULL means 'a missing unknown value' : NULL : Data Types MySQL TUTORIALS


MySQL TUTORIALS » Data Types » NULL »

 

NULL means 'a missing unknown value'


The NULL value means "no data."

NULL can be written in any lettercase.

For operations performed with LOAD DATA INFILE or SELECT ... INTO OUTFILE, NULL is represented by the N sequence.

To test for NULL, you cannot use the arithmetic comparison operators such as =, .

mysql>
mysql> SELECT = NULL, <> NULL, < NULL, > NULL;
+----------+-----------+----------+----------+
= NULL | <> NULL | < NULL | > NULL |
+----------+-----------+----------+----------+
|     NULL |      NULL |     NULL |     NULL |
+----------+-----------+----------+----------+
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 Data Types
» NULL