Built-in functions

circle-info

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentationarrow-up-right

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected]envelope.

Thank you for your understanding.

circle-info

For more information about built-in functions and their Snowflake equivalents, also see Common built-in functions.

Built-in Functions

This section describes each SQL function individually. (Sybase SQL Language Reference Functionsarrow-up-right).

Sybase
Snowflake Equivalent

ABSarrow-up-right ( numeric-expression)

ABSarrow-up-right ( numeric-expression)

ACOSarrow-up-right ( numeric-expression)

ACOSarrow-up-right ( numeric-expression)

ARGNarrow-up-right (integer-expression, expression [ , …] )

None Note: Snowflake does not contain a similar built-in function, a UDF might be created to emulate the Sybase behavior.

ASCIIarrow-up-right ( string-expression)

ASCIIarrow-up-right ( numeric-expression)

ASINarrow-up-right ( numeric-expression)

ASINarrow-up-right ( numeric-expression)

ATANarrow-up-right ( numeric-expression)

ATANarrow-up-right ( numeric-expression)

ATAN2arrow-up-right (numeric-expression, numeric-expression)

ATAN2arrow-up-right ( numeric-expression, numeric-expression)

AVGarrow-up-right ( [DISTINCT] column-name) [OVER ...]

AVGarrow-up-right ( [DISTINCT] column-name) [OVER ...]

BFILEarrow-up-right ( file-name-expression, large-object-column )

None Note: Snowflake does not contain a similar built-in function.

BIGINTTOHEXarrow-up-right (integer-expression)

None Note: Snowflake does not contain a similar built-in function.

BIT_LENGTHarrow-up-right (large-object-column)

BIT_LENGTHarrow-up-right (string_or_binary) Note: Snowflake doesn't use fractional bytes, so length is always calculated as 8 * OCTET_LENGTH.

BYTE_INSERTSTRarrow-up-right( insert-position , source-string , insert-string )

None Note: Snowflake does not contain a similar built-in function.

BYTE_LENGTH64arrow-up-right(large-object-column)

None Note: Snowflake does not contain a similar built-in function.

BYTE_LENGTHarrow-up-right(string-expression)

None Note: Snowflake does not contain a similar built-in function.

CASTarrow-up-right (expression AS data type)

CASTarrow-up-right(source_expr AS target_data_type)

CEILarrow-up-right (numeric-expression)

CEILarrow-up-right( input_expr [, scale_expr ] )

CHARarrow-up-right (integer-expression)

CHARarrow-up-right (integer-expression)

CHAR_LENGTHarrow-up-right (string-expression)

LENGTHarrow-up-right (string or binary-expression)

CHAR_LENGTH64arrow-up-right(long-varchar-expression)

LENGTHarrow-up-right (string or binary-expression)

CHARINDEXarrow-up-right(string-expression1, string-expression2)

CHARINDEXarrow-up-rightstring-expression1, string-expression2. [start-pos])

COALESCEarrow-up-right (expression, expression, [...])

COALESCEarrow-up-right (expression, expression, [...])

COL_LENGTHarrow-up-right (table-name, column-name)

None Note: Snowflake does not contain a similar built-in function.

COL_NAMEarrow-up-right(table-id, column-id [, database-id])

None Note: Snowflake does not contain a similar built-in function.

CONNECTION_PROPERTYarrow-up-right( { integer-expression1 | string-expression } … [ , integer-expression2 ] )

None Note: Snowflake does not contain a similar built-in function.

CONVERTarrow-up-right( data-type, expression [ , format-style ] )

CASTarrow-up-right(source_expr AS target_data_type)

CORRarrow-up-right( dependent-expression, independent-expression ) [OVER ...]

CORRarrow-up-right( dependent-expression, independent-expression ) [OVER ...]

COSarrow-up-right ( numeric-expression)

COSarrow-up-right ( numeric-expression)

COTarrow-up-right ( numeric-expression)

COTarrow-up-right ( numeric-expression)

COVAR_POParrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

COVAR_POParrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

COVAR_SAMParrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

COVAR_SAMParrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

COUNTarrow-up-right( * | expression | DISTINCT column-name ) [OVER ...]

COUNTarrow-up-right ( * | expression | DISTINCT column-name ) [OVER ...]

DATEarrow-up-right(string-expression)

DATEarrow-up-right(string-expression, [format])

DATEADDarrow-up-right( date-part, numeric-expression, date-expression )

DATEADDarrow-up-right( date-part, numeric-expression, date-expression )

DATECEILINGarrow-up-right ( date-part, numeric-expression[, multiple-expression] )

None Note: Snowflake does not contain a similar built-in function.

DATEDIFFarrow-up-right( date-part, date-expression1, date-expression2 )

DATEDIFFarrow-up-right ( date-part, date-expression1, date-expression2 ) Note: Transformation Needs Review.

DATEFLOORarrow-up-right ( date-part, datetime-expression [, multiple-expression ] )

None Note: Pending Transformation.

DATENAMEarrow-up-right ( date-part, date-expression )

None Note: Pending Transformation.

DATEPARTarrow-up-right( date-part, date-expression )

None Note: Pending Transformation.

DATEROUNDarrow-up-right( date-part, datetime-expression [, multiple-expression ] )

None Note: Pending Transformation.

DAYarrow-up-right( date-expression )

DAYarrow-up-right( date-expression )

DAYNAMEarrow-up-right( date-expression )

DAYNAME_UDF(date-expression )

DAYSarrow-up-right( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

DAYS_UDF( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

DB_IDarrow-up-right( [ database-name ] )

DB_ID_UDF Note: Snowflake does not have any built-in function to emulate this behavior.

DB_NAMEarrow-up-right( [ database-id ] )

CURRENT_DATABASE( )

DB_PROPERTYarrow-up-right( { property-id | property-name } [ , { database-id | database-name } ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

DEGREESarrow-up-right( numeric-expression )

DEGREESarrow-up-right( numeric-expression )

DIFFERENCEarrow-up-right( string-expression1, string-expression2 )

None Note: Snowflake does not have any built-in function to emulate this behavior.

DOWarrow-up-right( date-expression )

DAYOFWEEKarrow-up-right( date-expression )

ENCRYPTarrow-up-right( string-expression , key [ , algorithm-format [ , initialization-vector ] ] )

ENCRYPTarrow-up-right( value_to_encrypt , passphrase , [ [ additional_authenticated_data , ] encryption_method ] ) Note: Pending Review

ERRORMSGarrow-up-right( [ sqlstate | sqlcode ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

EXParrow-up-right(numeric-expression)

EXParrow-up-right(numeric-expression)

EXP_WEIGHTED_AVGarrow-up-right(expression, period-expression) [OVER ...]

None Note: Snowflake does not have any built-in function to emulate this behavior.

EXTRACTarrow-up-right( date-part FROM timestamp-expression )

EXTRACTarrow-up-right( date-part FROM timestamp-expression ) Note: Pending Review

FLOORarrow-up-right(numeric-expression)

FLOORarrow-up-right(numeric-expression)

HASHarrow-up-right( expression [ , algorithm ] )

HASHarrow-up-right Note: Pending Transformation

HEXTOBIGINTarrow-up-right( hexadecimal-string )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HEXTOINTarrow-up-right( hexadecimal-string )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HOURarrow-up-right( datetime-expression )

HOURarrow-up-right( datetime-expression )

HOURSarrow-up-right( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

HOURS_UDF( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

HTML_DECODEarrow-up-right( string-expression )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HTML_ENCODEarrow-up-right( string-expression )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HTTP_DECODEarrow-up-right( string-expression )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HTTP_ENCODEarrow-up-right( string-expression )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HTTP_HEADERarrow-up-right( header-field-name [ , instance ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HTTP_RESPONSE_HEADERarrow-up-right( header-field-name [ , instance ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

HTTP_VARIABLEarrow-up-right( var-name [ , instance [ , attribute ] ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

IFNULLarrow-up-right ( expression1, expression2 [ , expression3 ] )

IFNULLarrow-up-right Note: Is transformed to IFF(input is null, expression2, expression3) when the expression3 is present if not the third parameter will be NULL.

INSERTSTRarrow-up-right( numeric-expression, base_expr, insert_expr )

INSERTarrow-up-right( base_expr, pos, len, insert_expr )

INTTOHEXarrow-up-right(integer-expression)

None

ISDATEarrow-up-right( string-expression )

IS_DATE_UDF

ISNULLarrow-up-right( expression, expression [ …, expression ] )

COALESCEarrow-up-right( expression, expression [ …, expression ] )

ISNUMERICarrow-up-right( string-expression )

IS_NUMERIC_UDF( string-expression )

LAGarrow-up-right( value_expr [, offset [, default ] ] ) [OVER ...]

LAGarrow-up-right ( value_expr [, offset [, default ] ] ) [OVER ...]

LAST_VALUEarrow-up-right(expression [IGNORE NULLS | RESPECT NULLS]) OVER ...

LAST_VALUEarrow-up-right(expression [IGNORE NULLS | RESPECT NULLS]) OVER ...

LCASEarrow-up-right ( string-expression )

LOWERarrow-up-right ( string-expression )

LEADarrow-up-right ( value_expr [, offset [, default ] ] ) [OVER ...]

LEADarrow-up-right ( value_expr [, offset [, default ] ] ) [OVER ...]

LEFTarrow-up-right( string-expression, numeric-expression )

LEFTarrow-up-right( string-expression, numeric-expression )

LENarrow-up-right( string-expression )

LENGTHarrow-up-right( string-expression )

LENGTHarrow-up-right( string-expression )

LENGTHarrow-up-right( string-expression )

LISTarrow-up-right

([ALL | DISTINCT] string-expresssion [, 'delimiter-string'] [ORDER BY order-by-expression [ ASC | DESC ], ... ] ) [OVER ...]

LISTAGGarrow-up-right

([ DISTINCT ] expr1 [, delimiter ] ) [ WITHIN GROUP ( orderby_clause ) ] OVER ( [ PARTITION BY expr2 ] ) Note: ALL Keyword not supported in snowflake.

LNarrow-up-right(numeric-expression)

LNarrow-up-right(numeric-expression)

LOGarrow-up-right(numeric-expression)

LNarrow-up-right(numeric-expression)

LOWERarrow-up-right( string-expression )

LOWERarrow-up-right( string-expression )

LPADarrow-up-right( str, n [, pattern ] )

LPADarrow-up-right( str, n [, pattern ] )

LTRIMarrow-up-right( string-expression, [ trim_character_set ] )

LTRIMarrow-up-right( string-expression, [ trim_character_set ] ) Note: Snowflake is case-sensitive by default and affects operations with strings.

MAXarrow-up-right ([DISTINCT] column-name) [OVER ...]

MAXarrow-up-right (column-name) [OVER ...] Note: Usage of the DISTINCT keyword does not affect the result.

MEDIANarrow-up-right ( [ ALL | DISTINCT ] expression ) [OVER ...]

MEDIANarrow-up-right ( expression ) [OVER ...] Note: Usage of the ALL has no effect on the function since it counts all by default. The DISTINCT keyword is not supported.

MINarrow-up-right ([DISTINCT] column-name) [OVER ...]

MINarrow-up-right ( expression ) [OVER ...] Note: Usage of the DISTINCT keyword does not affect the result.

MINUTEarrow-up-right( datetime-expression )

MINUTEarrow-up-right( datetime-expression )

MINUTESarrow-up-right( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

MINUTES_UDF( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

MODarrow-up-right( dividend, divisor )

MODarrow-up-right( dividend, divisor )

MONTHarrow-up-right( date-expression )

MONTHarrow-up-right( date-expression )

MONTHNAMEarrow-up-right( date-expression )

MONTHNAME_UDF( date-expression )

MONTHSarrow-up-right( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

MONTH_UDF( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

NEXT_CONNECTIONarrow-up-right( { connection-id }, { database-id } )

None Note: Snowflake does not have any built-in function to emulate this behavior.

NEXT_HTTP_HEADERarrow-up-right( string-expression )

None Note: Snowflake does not have any built-in function to emulate this behavior.

NTILEarrow-up-right ( expression1 ) OVER ( ORDER BY expression2 [ ASC | DESC ] )

NTILEarrow-up-right ( constant_value ) OVER ( [ PARTITION BY expr1 ] ORDER BY expr2 [ { ASC | DESC } ] )

NULLIFarrow-up-right( expression1, expression2 )

NULLIFarrow-up-right( expression1, expression2 )

None Note: Snowflake does not have any built-in function to emulate this behavior.

OBJECT_IDarrow-up-right ( object-name )

OBJECT_ID_UDF

OBJECT_NAMEarrow-up-right ( object-id [ , database-id ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

OCTET_LENGTHarrow-up-right( string-expression )

OCTET_LENGTHarrow-up-right( string-expression )

PATINDEXarrow-up-right( '%pattern%', string-expression )

PATINDEX_UDF( '%pattern%', string-expression )

PERCENT_RANKarrow-up-right ( ) OVER ( ORDER BY expression [ ASC | DESC ] )

PERCENT_RANKarrow-up-right ( ) OVER ( [ PARTITION BY expr1 ] ORDER BY expr2 [ { ASC | DESC } ] [ fixedRangeFrame ] )

PERCENTILE_CONTarrow-up-right ( expression1 ) WITHIN GROUP ( ORDER BY expression2 [ ASC | DESC ] )

PERCENTILE_CONTarrow-up-right ( percentile ) WITHIN GROUP (ORDER BY order_by_expr) OVER ( [ PARTITION BY expr3 ] )

PERCENTILE_DISCarrow-up-right ( expression1> ) WITHIN GROUP ( ORDER BY expression2> [ ASC | DESC ] )

PERCENTILE_DISCarrow-up-right ( percentile ) WITHIN GROUP (ORDER BY order_by_expr ) OVER ( [ PARTITION BY expr3 ] )

POWERarrow-up-right ( numeric-expression1, numeric-expression2 )

POWERarrow-up-right ( numeric-expression1, numeric-expression2 )

PROPERTYarrow-up-right ( { property-id | property-name } )

None Note: Snowflake does not have any built-in function to emulate this behavior.

PROPERTY_DESCRIPTIONarrow-up-right ( { property-id | property-name } )

None Note: Snowflake does not have any built-in function to emulate this behavior.

None Note: Snowflake does not have any built-in function to emulate this behavior.

None Note: Snowflake does not have any built-in function to emulate this behavior.

None Note: Snowflake does not have any built-in function to emulate this behavior.

QUARTERarrow-up-right ( date-expression )

QUARTERarrow-up-right ( date-expression )

QUARTERSTRarrow-up-right ( date-expression,[ quarter_start_month ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

RADIANSarrow-up-right (numeric-expression)

RADIANSarrow-up-right (numeric-expression)

RANDarrow-up-right ( [ integer-expression ] )

RANDOMarrow-up-right ( [ integer-expression ] )

RANKarrow-up-right ( ) OVER ( [ PARTITION BY ] ORDER BY expression [ ASC | DESC ] )

RANKarrow-up-right ( ) OVER ( [ PARTITION BY ] ORDER BY expression [ { ASC | DESC } ] [ window_frame ] )

READ_SERVER_FILEarrow-up-right ( filename [ , start [ , length ] ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

REGR_AVGXarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_AVGXarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_AVGYarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_AVGYarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_COUNTarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_COUNTarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_INTERCEPTarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_INTERCEPTarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_R2arrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_R2arrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SLOPEarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SLOPEarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SXXarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SXXarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SXYarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SXYarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SYYarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REGR_SYYarrow-up-right ( dependent-expression, independent-expression ) [OVER ...]

REMAINDERarrow-up-right ( dividend, divisor )

MODarrow-up-right( dividend, divisor )

REPEATarrow-up-right ( string-expression, integer-expression )

REPEATarrow-up-right( string-expression, integer-expression )

REPLACEarrow-up-right( original-string, search-string, replace-string )

REPLACEarrow-up-right( original-string, search-string, replace-string )

REPLICATEarrow-up-right( string-expression, integer-expression )

REPEATarrow-up-right( string-expression, integer-expression )

REVERSEarrow-up-right ( expression )

REVERSEarrow-up-right ( expression )

RIGHTarrow-up-right ( string-expression, numeric-expression )

RIGHTarrow-up-right ( string-expression, numeric-expression )

ROUNDarrow-up-right ( numeric-expression, integer-expression )

ROUNDarrow-up-right ( numeric-expression, integer-expression )

ROW_NUMBERarrow-up-right OVER ( [ PARTITION BY window partition ] ORDER BY window ordering )

ROW_NUMBERarrow-up-right OVER ( [ PARTITION BY window partition ] ORDER BY window ordering )

ROWIDarrow-up-right( table-name)

None Note: Snowflake does not have any built-in function to emulate this behavior.

RPADarrow-up-right( str, n [, pattern ] )

RPADarrow-up-right( str, n [, pattern ] )

RTRIMarrow-up-right ( string-expression, [ trim_character_set ] )

RTRIMarrow-up-right( string-expression, [ trim_character_set ] )

Note: Snowflake is case-sensitive

SECONDarrow-up-right( datetime-expression )

SECONDarrow-up-right( datetime-expression )

SECONDSarrow-up-right( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

SECONDS_UDF( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

SIGNarrow-up-right (numeric-expression)

SIGNarrow-up-right (numeric-expression)

SIMILARarrow-up-right ( string-expression1, string-expression2 )

None

Note: Snowflake does not have any built-in function to emulate this behavior.

SINarrow-up-right (numeric-expression)

SINarrow-up-right (numeric-expression)

SORTKEYarrow-up-right ( string-expression [, { collation-id | collation-name [ ( collation-tailoring-string ) ] } ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

SOUNDEXarrow-up-right( string-expression )

SOUNDEXarrow-up-right( string-expression )

SPACEarrow-up-right(numeric-expression)

SPACEarrow-up-right(numeric-expression)

SQLFLAGGERarrow-up-right( sql-standard-string, sql-statement-string )

None Note: Snowflake does not have any built-in function to emulate this behavior.

SQRTarrow-up-right (numeric-expression)

SQRTarrow-up-right (numeric-expression)

SQUAREarrow-up-right (numeric-expression)

SQUAREarrow-up-right (numeric-expression)

STDDEVarrow-up-right ( [ ALL ] expression ) [OVER ...]

STDDEVarrow-up-right ( expression ) [OVER ...]

STDDEV_POParrow-up-right ( [ ALL ] expression ) [OVER ...]

STDDEV_POParrow-up-right ( expression ) [OVER ...]

STDDEV_SAMParrow-up-right ( [ ALL ] expression ) [OVER ...]

STDDEV_SAMParrow-up-right ( expression ) [OVER ...]

STRarrow-up-right( numeric-expression [ , length[ , decimal ] ] )

STR_UDF

STR_REPLACEarrow-up-right( string_expr1, string_expr2, string_expr3 )

STRINGarrow-up-right( string-expression [ , … ] )

STRTOUUIDarrow-up-right (string-expression)

None Note: Snowflake does not have any built-in function to emulate this behavior.

STUFFarrow-up-right ( string-expression1, start, length, string-expression2 )

SUBSTRINGarrow-up-right( string-expression, start [ , length ] )

SUBSTRarrow-up-right( string-expression, start [ , length ] )

SUBSTRING64arrow-up-right( string-expression, start [ , length ] )

SUMarrow-up-right ( expression | DISTINCT column-name ) [OVER ...]

SUMarrow-up-right ( expression | DISTINCT column-name ) [OVER ...]

TANarrow-up-right (numeric-expression)

TANarrow-up-right (numeric-expression)

CURRENT_DATE( )

TRIMarrow-up-right( string-expression, [ trim_character_set ] )

TRIMarrow-up-right( string-expression, [ trim_character_set ] )

TRUNCNUMarrow-up-right( numeric-expression, integer-expression )

TRUNCarrow-up-right( numeric-expression, integer-expression )

UCASEarrow-up-right(string-expression)

UPPERarrow-up-right(string-expression)

UPPERarrow-up-right(string-expression)

UPPERarrow-up-right(string-expression)

USER_IDarrow-up-right( [ user-name ] )

None Note: Snowflake does not have any built-in function to emulate this behavior.

None Note: Snowflake does not have any built-in function to emulate this behavior.

UUIDTOSTRarrow-up-right( uuid-expression )

None Note: Snowflake does not have any built-in function to emulate this behavior.

VAR_POParrow-up-right( [ ALL ] expression ) [OVER ...]

VAR_POParrow-up-right( [ ALL ] expression ) [OVER ...]

VAR_SAMParrow-up-right( [ ALL ] expression ) [OVER ...]

VAR_SAMParrow-up-right( [ ALL ] expression ) [OVER ...]

VARIANCEarrow-up-right ( [ ALL ] expression ) [OVER ...]

VARIANCEarrow-up-right ( [ ALL ] expression ) [OVER ...]

WEEKSarrow-up-right( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

WEEKS_UDF( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

WEIGHTED_AVGarrow-up-right (expression) OVER (window-spec);

None Note: Snowflake does not have any built-in function to emulate this behavior.

WIDTH_BUCKETarrow-up-right ( expression, min_value, max_value, num_buckets )

WIDTH_BUCKETarrow-up-right ( expression, min_value, max_value, num_buckets )

YEARarrow-up-right( date-expression )

YEARarrow-up-right( date-expression )

YEARSarrow-up-right( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

YEARS_UDF( datetime-expression ) | ( datetime-expression, datetime-expression ) | ( datetime-expression, integer-expression )

YMDarrow-up-right( integer-expression1, integer-expression2, integer-expression3 )

DATE_FROM_PARTSarrow-up-right ( year, month, day )

SSC-FDM-0009arrow-up-right: GLOBAL TEMPORARY TABLE functionality not supported. SSC-EWI-0073: Pending Functional Equivalence Review. SSC-EWI-TS0060: Datetime interval not supported by Snowflake. SSC-FDM-TS0025: DB_ID_UDF may have a different behavior in certain cases. SSC-FDM-TS0010: CURRENT_DATABASE function has different behavior in certain cases.\

Last updated