DB2 Version 9.7 for Linux, UNIX, and Windows

Boolean data type

The BOOLEAN type is a built-in data type that can only be used for local variables, global variables, parameters, or return types in compound SQL (compiled) statements. A Boolean value represents a truth value of TRUE or FALSE. A Boolean expression or predicate can result in a value of unknown, which is represented as the null value.