Documentation Index
Fetch the complete documentation index at: https://docs.sdf.com/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
Documentation Index
Fetch the complete documentation index at: https://docs.sdf.com/llms.txt
Use this file to discover all available pages before exploring further.
add_monthsfunction add_months(date, bigint) returns timestamp
function add_months(timestamp, bigint) returns timestamp
convert_timezonefunction convert_timezone(varchar, varchar) returns timestamp
function convert_timezone(varchar, varchar, varchar) returns timestamp
current_datefunction current_date() returns date
current_datetimefunction current_datetime() returns timestamp
current_timefunction current_time() returns time
datefunction date($1) returns date
date_addfunction date_add $1(varchar, bigint, $1) returns date
where varchar in (millennium, millennia, mil, mils, century, centuries, c, cent, cents, decade, decades, dec, decs, year, years, y, yr, yrs, quarter, quarters, qtr, qtrs, month, months, mon, mons, week, weeks, w, day, days, d, hour, hours, h, hr, hrs, minute, minutes, m, min, mins, second, seconds, s, sec, secs, millisecond, milliseconds, ms, msec, msecs, msecond, mseconds, millisec, millisecs, millisecon, microsecond, microseconds, microsec, microsecs, microsecond, usecond, useconds, us, usec, usecs)
where $1 in (date, timestamp, time, varchar)
date_cmpfunction date_cmp(varchar, varchar) returns bigint
date_cmp_timestampfunction date_cmp_timestamp(varchar, varchar) returns bigint
date_cmp_timestampzfunction date_cmp_timestampz(varchar, varchar) returns bigint
date_partfunction date_part(varchar, varchar) returns float
where varchar in (millennium, millennia, mil, mils, century, centuries, c, cent, cents, decade, decades, dec, decs, year, years, y, yr, yrs, quarter, quarters, qtr, qtrs, month, months, mon, mons, week, weeks, w, dayofweek, dow, dw, weekday, dayofyear, doy, dy, yearday, days, days, d, hour, hours, h, hr, hrs, minute, minutes, m, min, mins, second, seconds, s, sec, secs, millisecond, milliseconds, ms, msec, msecs, msecond, mseconds, millisec, millisecs, millisecon, microsecond, microseconds, microsec, microsecs, microsecond, usecond, useconds, us, usec, usecs)
date_part_yearfunction date_part_year(varchar) returns bigint
dateaddfunction dateadd $1(varchar, bigint, $1) returns date
where varchar in (millennium, millennia, mil, mils, century, centuries, c, cent, cents, decade, decades, dec, decs, year, years, y, yr, yrs, quarter, quarters, qtr, qtrs, month, months, mon, mons, week, weeks, w, day, days, d, hour, hours, h, hr, hrs, minute, minutes, m, min, mins, second, seconds, s, sec, secs, millisecond, milliseconds, ms, msec, msecs, msecond, mseconds, millisec, millisecs, millisecon, microsecond, microseconds, microsec, microsecs, microsecond, usecond, useconds, us, usec, usecs)
where $1 in (date, timestamp, time, varchar)
datedifffunction datediff $1, $2(varchar, $1, $2) returns bigint
where varchar in (millennium, millennia, mil, mils, century, centuries, c, cent, cents, decade, decades, dec, decs, year, years, y, yr, yrs, quarter, quarters, qtr, qtrs, month, months, mon, mons, week, weeks, w, day, days, d, hour, hours, h, hr, hrs, minute, minutes, m, min, mins, second, seconds, s, sec, secs, millisecond, milliseconds, ms, msec, msecs, msecond, mseconds, millisec, millisecs, millisecon, microsecond, microseconds, microsec, microsecs, microsecond, usecond, useconds, us, usec, usecs)
where $1 in (date, timestamp, time with time zone, time, varchar)
and $2 in (date, timestamp, time with time zone, time, varchar)
getdatefunction getdate() returns timestamp
sysdatefunction sysdate() returns date
timeofdayfunction timeofday() returns varchar
timestamp_cmpfunction timestamp_cmp(varchar, varchar) returns bigint
timestamp_cmp_datefunction timestamp_cmp_date(varchar, varchar) returns bigint
timestamp_cmp_timestampzfunction timestamp_cmp_timestampz(varchar, varchar) returns bigint
timestampz_cmpfunction timestampz_cmp(varchar, varchar) returns bigint
timestampz_cmp_datefunction timestampz_cmp_date(varchar, varchar) returns bigint
timestampz_cmp_timestampfunction timestampz_cmp_timestamp(varchar, varchar) returns bigint
timezonefunction timezone(varchar, varchar) returns timestamp
to_datefunction to_date(varchar, varchar) returns date
function to_date(varchar, varchar, boolean) returns date
to_timestampfunction to_timestamp(varchar, varchar) returns timestamp
function to_timestamp(varchar, varchar, boolean) returns timestamp