UPPER
Converteert de tekenreeks naar hoofdletters.
Syntaxis
UPPER(STRING)
Argumenten
STRING
Type: string
Een reeks tekens.
Retourneert
Type: string
STRING in hoofdletters.
Voorbeelden
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
| TEKENREEKS | Uitvoer |
|---|---|
| a | A |
| abc | ABC |
| 123 | 123 |
| abc | ABC |
| -=@#$ | -=@#$ |
null
|
null
|