BOOLNOT

functionsupportedCore SQL functions

docs.snowflake.com ↗

Conditional expression functions

Computes the Boolean NOT of a single numeric expression. In accordance with Boolean semantics: - Non-zero values, including negative numbers, are regarded as true. - Zero values are regarded as false. As a result, the function returns: - True if the expression is zero. - False if the expression is non-zero. - NULL if the expression is NULL.

Syntax

BOOLNOT( <expr> )

Parameters

NameRequiredDescription
exprrequiredA numeric expression.

Returns

This function returns a value of type BOOLEAN or NULL.

Usage notes

See also

Referenced by