IS_VARCHAR

functionsupportedCore SQL functions

docs.snowflake.com ↗

Semi-structured and structured data functions

Returns TRUE if its VARIANT argument contains a string value. These functions are synonymous.

Syntax

IS_CHAR( <variant_expr> )

IS_VARCHAR( <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 string value. Otherwise, returns FALSE. - If the input is NULL, returns NULL without reporting an error.

See also