Depuis MySQL version 4.1, la constante TRUE
vaut 1
et la constante
FALSE
vaut 0
. Les noms des
constantes peuvent être écrit en minuscules ou majuscules.
mysql> SELECT TRUE, true, FALSE, false;
-> 1, 1, 0, 0
This is a translation of the MySQL Reference Manual that can be found at dev.mysql.com. The original Reference Manual is in English, and this translation is not necessarily as up to date as the English version.