Related Documentation Download this Manual
PDF (US Ltr) - 33.9Mb
PDF (A4) - 33.9Mb
PDF (RPM) - 31.9Mb
HTML Download (TGZ) - 8.1Mb
HTML Download (Zip) - 8.2Mb
HTML Download (RPM) - 7.0Mb
Man Pages (TGZ) - 145.9Kb
Man Pages (Zip) - 206.8Kb
Info (Gzip) - 3.1Mb
Info (Zip) - 3.1Mb


MySQL 8.0 Reference Manual  /  ...  /  Boolean Literals

Pre-General Availability Draft: 2017-11-24

9.1.6 Boolean Literals

The constants TRUE and FALSE evaluate to 1 and 0, respectively. The constant names can be written in any lettercase.

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

User Comments
Sign Up Login You must be logged in to post a comment.