MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.1.4 Boolean Values

Beginning with MySQL 4.1.0, the constant TRUE evaluates to 1 and the constant FALSE evaluates to 0. The constant names can be written in any lettercase.

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



This document was generated by rdg (Feb 25 2004) using texi2html