Aller au contenu principal

upper function

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime

Returns expr with all characters changed to uppercase according to the collation of expr. This function is a synonym for ucase function.

Syntax​

upper(expr)

Arguments​

  • expr: A STRING expression.

Returns​

A STRING.

Examples​

SQL
> SELECT upper('SparkSql');
SPARKSQL