UPPER
Konverterar strängen till versaler.
Syntax
UPPER(STRING)
Argument
STRING
Typ: string
En sekvens av tecken.
Returnerar
Typ: string
STRING med versaler.
Exempel
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 | Utdata |
|---|---|
| a | A |
| abc | ABC |
| 123 | 123 |
| abc | ABC |
| -=@#$ | -=@#$ |
null
|
null
|