Boolean Data Type

Vertica provides the standard SQL type BOOLEAN, which has two states: true and false. The third state in SQL boolean logic is unknown, which is represented by the NULL value.

Syntax

BOOLEAN

Parameters

Valid literal data values for input are:

 

TRUE
't'
'true'
'y'
'yes'
'1' 
 1
FALSE
'f'
'false'
'n'
'no'
'0'
 0

Notes