Snowflake Functions
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
SDF is now a part of dbt Labs. Get live CTA previews, inline errors, and mesh support natively in the dbt platform. Learn more ยท Migrate to Fusion
boolandfunction booland(decimal(38, 0), decimal(38, 0)) returns boolean
boolnotfunction boolnot(decimal(38, 0)) returns boolean
boolorfunction boolor(decimal(38, 0), decimal(38, 0)) returns boolean
boolxorfunction boolxor(decimal(38, 0), decimal(38, 0)) returns boolean
coalescefunction coalesce($1, ...) returns $1
decodefunction decode($1, $1, $1, ...) returns $1
equal_nullfunction equal_null($1, $1) returns boolean
function equal_null(array, array) returns boolean
greatestfunction greatest($1, ...) returns $1
greatest_ignore_nullsfunction greatest_ignore_nulls($1, ...) returns $1
ifffunction iff(boolean, $1, $1) returns $1
ifnullfunction ifnull($1, $1) returns $1
is_null_valuefunction is_null_value(variant) returns boolean
leastfunction least($1, ...) returns $1
least_ignore_nullsfunction least_ignore_nulls($1, ...) returns $1
nulliffunction nullif($1, $1) returns $1
nullifzerofunction nullifzero(decimal(38, 0)) returns decimal(38, 0)
function nullifzero(double) returns double
nvlfunction nvl($1, $1) returns $1
nvl2function nvl2($1, $1, $1) returns $1
regr_valxfunction regr_valx(double, double) returns double
regr_valyfunction regr_valy(double, double) returns double
zeroifnullfunction zeroifnull(decimal(38, 0)) returns decimal(38, 0)
function zeroifnull(double) returns double