DB
FunctionsType Conversion

null_if

Returns NULL if the two arguments are equal; otherwise returns the first argument. If the equality test is unknown due to NULLs, the first argument is returned (standard NULLIF behavior).

null_if(…) → Dynamic

Kind · scalar

Returns NULL if the two arguments are equal; otherwise returns the first argument. If the equality test is unknown due to NULLs, the first argument is returned (standard NULLIF behavior).

Part of the Type Conversion family.