LOWER()
All functions > STRING > LOWER()
Returns the string with all characters converted to lowercase.
Signatures
Returns: String with all characters converted to lowercase
LOWER(string: VARCHAR) → VARCHAR sql
| Parameter | Type | Required | Description |
|---|---|---|---|
string | VARCHAR | Yes | Input string to convert |
Notes
- Letters become lowercase; digits, punctuation, and most symbols stay unchanged
LOWER('')is''; if the input is NULL the result is NULL (useNULL(VARCHAR); bareNULLfails inference)
Examples
FeatureQL
SELECT
f1 := LOWER('HELLO WORLD'), -- All uppercase to lowercase
f2 := LOWER('Mixed Case String'), -- Mixed case to lowercase
f3 := LOWER('ABC123XYZ'), -- Letters and numbers
f4 := LOWER('CAFÉ'), -- Unicode characters
f5 := LOWER('123!@#'), -- Numbers and symbols unchanged
f6 := LOWER(NULL(VARCHAR)) -- NULL yields NULL
;Result
| f1 VARCHAR | f2 VARCHAR | f3 VARCHAR | f4 VARCHAR | f5 VARCHAR | f6 VARCHAR |
|---|---|---|---|---|---|
| hello world | mixed case string | abc123xyz | café | 123!@# | NULL |
On this page