IS_TIMESTAMP_LTZ

functionsupportedCore SQL functions

docs.snowflake.com ↗

Semi-structured and structured data functions

Verifies whether a VARIANT argument contains the respective timestamp value: - IS_TIMESTAMP_LTZ (value with local time zone). - IS_TIMESTAMP_NTZ (value with no time zone). - IS_TIMESTAMP_TZ (value with time zone).

Syntax

IS_TIMESTAMP_LTZ( <variant_expr> )

IS_TIMESTAMP_NTZ( <variant_expr> )

IS_TIMESTAMP_TZ( <variant_expr> )

Parameters

NameRequiredDescription
variant_exprrequiredAn expression that evaluates to a value of type VARIANT.

Returns

Returns a BOOLEAN value or NULL. - Returns TRUE if the VARIANT value contains a timestamp. Otherwise, returns FALSE. - If the input is NULL, returns NULL without reporting an error.

See also

Referenced by