MySQL 5.1 リファレンスマニュアル :: 8 言語構造 :: 8.1 リテラル値 :: 8.1.4 ブール値
« 8.1.3 16 進値

8.1.5 ビットフィールド値 »
Section Navigation      [Toggle]
  • 8.1 リテラル値
  • 8.1.1 文字列
  • 8.1.2 数値
  • 8.1.3 16 進値
  • 8.1.4 ブール値
  • 8.1.5 ビットフィールド値
  • 8.1.6 NULL値

8.1.4. ブール値

TRUE と FALSE の定数はそれぞれ1と0として評価されます。定数名は大文字/小文字の区別がなされません。

mysql> SELECT TRUE, true, FALSE, false;
        -> 1, 1, 0, 0
Copyright © 1997, 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices
Top / Previous / Next / Up / Table of Contents
© 2010, Oracle Corporation and/or its affiliates