NULL value means “no data.”
NULL can be written in any lettercase. A
\N (case sensitive). Treatment of
\N as a synonym for
in SQL statements is deprecated as of MySQL 5.7.18 and is
removed in MySQL 8.0; use
Be aware that the
NULL value is different
from values such as
0 for numeric types or
the empty string for string types. For more information, see
Section B.5.4.3, “Problems with NULL Values”.
For text file import or export operations performed with
SELECT ... INTO
NULL is represented by the
\N sequence. See Section 14.2.6, “LOAD DATA INFILE Syntax”.
\N in text files is unaffected by the
\N in SQL statements.