BOOLXOR_AGG

functionsupportedCore SQL functions

docs.snowflake.com ↗

Aggregate functionsWindow functionsConditional expression functions

Returns TRUE if exactly one Boolean record in the group evaluates to TRUE. If all records in the group are NULL, or if the group is empty, the function returns NULL.

Syntax

supportedpartialnot supportednot scored

Aggregate function

BOOLXOR_AGG( <expr> )

Window function

BOOLXOR_AGG( <expr> ) OVER ( [ PARTITION BY <partition_expr> ] )

Parameters

NameRequiredDescription
exprrequiredThe input expression must be an expression that can be evaluated to a boolean or converted to a boolean.
partition_exprrequiredThis column or expression specifies how to separate the input into partitions (sub-windows).

Returns

This function returns a value of type BOOLEAN.

Usage notes

See also

Referenced by