boolean Data Type

boolean data expresses a binary value of either TRUE or FALSE.

Detail Info
Quick Syntax TRUE or FALSE
Size 1 byte

Syntax 

TRUE FALSE

Details 

Valid casts 

From boolean 

You cannot cast boolean to any other type.

To boolean 

You can cast int to boolean.

Examples 

SELECT TRUE AS t_val;
 t_val
-------
 t

SELECT FALSE AS f_val;
 f_val
-------
 f