Skip to main content Skip to complementary content

UPPER

Converts the string to uppercase letters.

Syntax

UPPER(STRING)

Arguments

STRING

Type: string

A sequence of characters.

Returns

Type: string

STRING in uppercase letters.


Examples

SELECT UPPER("a") = "A" AND UPPER("abc") = "ABC" AND UPPER("123") = "123" AND UPPER("abc") = "ABC" AND UPPER('-=@#$') = "-=@#$" AND UPPER(null) is null AND UPPER(CAST(null as varchar)) is null

STRING Output
a A
abc ABC
123 123
abc ABC
-=@#$ -=@#$
null null

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!