Updated on 2026-11-06 GMT+08:00

lower/lcase

The lower function is used to convert a text string to all lowercase letters.

Syntax

lower(string A) / lcase(string A) 

Parameters

Parameter

Mandatory

Type

Description

A

Yes

STRING

The text string to be converted.

Return Values

Returns a value of type STRING.

  • If the input parameter is not of type STRING, BIGINT, DOUBLE, DECIMAL, or DATETIME, an error is returned.
  • If the input parameter is NULL, NULL is returned.

Example Code

Convert uppercase characters in the string to lowercase characters. The command example is as follows.

Returns abc.

select lower('ABC'); 

The input parameter is NULL. The command example is as follows.

Returns NULL.

select lower(null);