Example
Convert the text to lower-case:
sql
SELECT LCASE("SQL Tutorial is FUN!");
Definition and Usage
The LCASE() function converts a string to lower-case.
Note: The LOWER() function is a synonym for the LCASE() function.
Syntax
text
LCASE(text)
Parameter Values
| Parameter | Description |
|---|---|
| text | Required. The string to convert |
Technical Details
| Works in: | From MySQL 4.0 |
|---|
More Examples
Example
Convert the text in "CustomerName" to lower-case:
sql
SELECT LCASE(CustomerName) AS LowercaseCustomerName
FROM Customers;