Documentation Home
MySQL 9.4 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 41.2Mb
PDF (A4) - 41.3Mb
Man Pages (TGZ) - 262.8Kb
Man Pages (Zip) - 368.8Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.4 Reference Manual  / ...  / Language Structure  / Literal Values  /  Boolean Literals

11.1.6 Boolean Literals

The constantsTRUE andFALSE evaluate to1 and0, respectively. The constant names can be written in any lettercase.

mysql> SELECT TRUE, true, FALSE, false;        -> 1, 1, 0, 0