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
ParameterTypeRequiredDescription
stringVARCHARYesInput 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 (use NULL(VARCHAR); bare NULL fails inference)

Examples

FeatureQL
SELECT
    -- All uppercase to lowercase
    f1 := LOWER('HELLO WORLD'),
    -- Mixed case to lowercase
    f2 := LOWER('Mixed Case String'),
    -- Letters and numbers
    f3 := LOWER('ABC123XYZ'),
    -- Unicode characters
    f4 := LOWER('CAFÉ'),
    -- Numbers and symbols unchanged
    f5 := LOWER('123!@#'),
    -- NULL yields NULL
    f6 := LOWER(NULL(VARCHAR))
;
Result
f1 VARCHARf2 VARCHARf3 VARCHARf4 VARCHARf5 VARCHARf6 VARCHAR
hello worldmixed case stringabc123xyzcafé123!@#NULL

Last update at: 2026/06/20 10:08:10