COLLATION

functionsupportedCore SQL functions

docs.snowflake.com ↗

String & binary functions

Returns the collation specification of the expression.

Syntax

COLLATION(<expression>)

Parameters

NameRequiredDescription
expressionrequiredThe expression for which you want to know the collation specification. Typically, this is a column name.

Returns

Returns a VARCHAR value that contains the collation specification of the expression.