📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

UPPER



Returns a string with all characters changed to uppercase.

Syntax

UPPER(<str>)

Aliases

Return Type

VARCHAR

Examples

SELECT UPPER('Hello, Datalake!'), UCASE('Hello, Datalake!'); ┌───────────────────────────────────────────────────────┐ │ upper('hello, datalake!') │ ucase('hello, datalake!') │ ├───────────────────────────┼───────────────────────────┤ │ HELLO, DATALAKE! │ HELLO, DATALAKE! │ └───────────────────────────────────────────────────────┘

Was this page helpful?