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, 1734🔥, 0💬
Popular Posts:
What Are Date and Time Functions in MySQL? MySQL offers a number of functions for date and time valu...
How to execute statements in loops in SQL Server Transact-SQL? How to use WHILE ... loops? You can u...
How To Use "IF ... ELSE IF ..." Statement Structures in SQL Server Transact-SQL? "IF ... ELSE IF ......
How To Round a Numeric Value To a Specific Precision in SQL Server Transact-SQL? Sometimes you need ...
How To Use "IF ... ELSE IF ..." Statement Structures in SQL Server Transact-SQL? "IF ... ELSE IF ......