Book Contents

Book Index

Next Topic

Home

Boolean-predicate

The Boolean predicate retrieves rows where the value of an expression is true, false, or unknown (null).

Syntax

expression IS [NOT] TRUE

expression IS [NOT] FALSE

expression IS [NOT] UNKNOWN

Semantics

A Boolean predicate always return true or false, never a null value, even when the operand is null. A null input is treated as the value UNKNOWN.

Notes