upper function

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

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

Syntax

upper(expr)

Arguments

  • expr: A STRING expression.

Returns

A STRING.

Examples

> SELECT upper('SparkSql');
 SPARKSQL