BOOLEAN data type BOOLEAN provides 1 byte of storage for logical values. BOOLEAN data type Syntax BOOLEAN
Corresponding compile-time Java type

java.lang.Boolean

JDBC metadata type (java.sql.Types)

BOOLEAN

Legal values

The legal values are true, false, and null. BOOLEAN values can be cast to and from character typed values. For comparisons and ordering operations, true sorts higher than false.

Examples values true values false values cast (null as boolean)