Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This feature is in Public Preview. You can confirm preview enrollment on the Previews page. See Manage Azure Databricks previews.
Applies to:
Databricks SQL
Databricks Runtime 16.1 and above
Returns the collation attached to strExpr.
Syntax
collation (strExpr)
Arguments
strExpr: ASTRINGexpression.
Returns
A STRING using default collation, with the collation name.
Examples
> SELECT collation('test');
UTF8_BINARY