Collections:
LOWER() - Convert String to Lower Case
How to convert a string to lower case using the LOWER() function?
✍: FYIcenter.com
LOWER(str) is a MySQL built-in function that
converts all characters of a given into lower case characters.
For example:
SET @str = 'dba.FYIcenter.com'; SELECT LOWER(@str); -- +-------------------+ -- | LOWER(@str) | -- +-------------------+ -- | dba.fyicenter.com | -- +-------------------+
Reference information of the LOWER() function:
LOWER(str): modstr Returns the string str with all characters changed to lowercase according to the current character set mapping, or NULL if str is NULL. The default character set is utf8mb4. Arguments, return value and availability: str: Required. The string to be converted. modstr: Return value. The converted string. Available since MySQL 4.0.
Related MySQL functions:
⇒ LPAD() - Left-Padding String
⇐ LOCATE() - Locate Substring Starting at N
2023-11-12, 1296🔥, 0💬
Popular Posts:
How To Use "IF ... ELSE IF ..." Statement Structures in SQL Server Transact-SQL? "IF ... ELSE IF ......
How To Drop an Index in Oracle? If you don't need an existing index any more, you should delete it w...
Where to find answers to frequently asked questions on CREATE, ALTER and DROP Statements in MySQL? H...
How To Replace Given Values with NULL using NULLIF() in SQL Server Transact-SQL? Sometime you want t...
What Are Date and Time Functions in MySQL? MySQL offers a number of functions for date and time valu...