Book Contents

Book Index

Next Topic

Home

BOOLEAN

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

Semantics

Valid literal data values for input are:

 

TRUE

't'

'true'

'y'

'yes'

'1'

FALSE

'f'

'false'

'n'

'no'

'0'

Notes