All pages
Powered by GitBook
1 of 1

Loading...

TRUE FALSE

Boolean literal for 1 = TRUE or 0 = FALSE, respectively.

Description

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

Examples

This page is licensed: GPLv2, originally from

SELECT TRUE, true, FALSE, false;
+------+------+-------+-------+
| TRUE | TRUE | FALSE | FALSE |
+------+------+-------+-------+
|    1 |    1 |     0 |     0 |
+------+------+-------+-------+
fill_help_tables.sql