SYSTEM$TYPEOF

functionsupportedCore SQL functions

docs.snowflake.com ↗

System functions

Returns a string representing the SQL data type associated with an expression.

Syntax

SYSTEM$TYPEOF( <expr> )

Parameters

NameRequiredDescription
exprrequiredThe argument can be a column name or a general expression.

Returns

Returns a VARCHAR value that contains the data type of the input expression, for example, BOOLEAN, NUMBER, ARRAY, OBJECT, etc.

Usage notes

See also

Referenced by