Converts the input string to uppercase characters. Note that Firebolt uses the POSIX locale, therefore upper only converts the ASCII characters “a” through “z” to uppercase. Non-ASCII characters remain unchanged.
Syntax
Parameters
| Parameter | Description | Supported input types |
|---|
<expression> | The string to be converted to uppercase characters. | TEXT |
Return Type
TEXT
Examples
The following example converts a game player’s username from lowercase to uppercase characters:
SELECT UPPER('esimpson') AS username;
Rows: 1Execution time: 6.85ms
Because Firebolt uses the POSIX locale, non-ASCII characters are not uppercased:
Rows: 1Execution time: 4.66ms