Rechercher dans le manuel MySQL
9.1.7 NULL Values
The NULL
value means “no data.”
NULL
can be written in any lettercase.
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.4.4.3, “Problems with NULL Values”.
For text file import or export operations performed with
LOAD DATA
or
SELECT ... INTO
OUTFILE
, NULL
is represented by the
\N
sequence. See Section 13.2.7, “LOAD DATA Syntax”.
For sorting with ORDER BY
,
NULL
values sort before other values for
ascending sorts, after other values for descending sorts.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-null-values.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.