Conditional Expression Functions
booland
returns result of logical (Boolean) AND of x and y Supported Signatures
boolnot
returns result of logical (Boolean) NOT of x Supported Signatures
boolor
returns result of logical (Boolean) OR of x and y Supported Signatures
boolxor
returns result of logical (Boolean) XOR of x and y Supported Signatures
coalesce
returns the first non-null expression among its arguments Supported Signatures
decode
compare an expression to search values and returns the matching one Supported Signatures
equal_null
Checks if two values are equal, with NULL=NULL semantic Supported Signatures
greatest
returns the largest value from a list of expressions Supported Signatures
greatest_ignore_nulls
returns the largest value from a list of expressions Supported Signatures
iff
Returns arg2 if arg1 is true, arg3 otherwise. Supported Signatures
ifnull
Returns second expression if the first expression is NULL, the first expression otherwise. Supported Signatures
is_null_value
Returns true if VARIANT value is null Supported Signatures
least
returns the smallest value from a list of expressions Supported Signatures
least_ignore_nulls
returns the smallest value from a list of expressions Supported Signatures
nullif
Supported Signatures
nullifzero
Returns the 1st input, with values equal to 0 replaced with NULL Supported Signatures
nvl
Returns second expression if the first expression is NULL, the first expression otherwise. Supported Signatures
nvl2
Returns second expression if the first expression is NOT NULL. Returns the third expression otherwise. Supported Signatures
regr_valx
Returns the value of the dependent variable (2nd param) if both values are not-null. Supported Signatures
regr_valy
Returns the value of the independent variable (1st param) if both values are not-null. Supported Signatures
zeroifnull
Converts to zero if the input is NULL Supported Signatures