webCOMAND

LOWER()

Returns a string in all lowercase.

LOWER() and UPPER() are ineffective when applied to binary strings.

Prototype

int LOWER(string str)

Parameters

  • str - The string or expression to evaluate to a string and convert to lowercase.

Return

Returns the string str with all characters changed to lowercase according to the current character set mapping.  The default is utf8mb4.

Example

SELECT OID, LOWER(Username) AS LowerUsername FROM User

Related

UPPER()