Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Applies to:
Databricks SQL
Databricks Runtime 16.1 and above
Attaches an explicit collation collationName to strExpr.
For a list of valid collations see Supported collations.
Syntax
strExpr COLLATE collationName
Arguments
strExpr: ASTRINGexpression.- collationName: A collation name to attach to
strExpr.
Returns
A STRING with the same value as strExpr.
Examples
> SELECT collation('test' COLLATE UNICODE_CI);
UNICODE_CI