Curriculum
Course: MYSQL
Login

Curriculum

MYSQL

MySQL References

0/140
Text lesson

LCASE

Example

Change the text to lowercase.

SELECT LCASE(“SQL Tutorial is FUN!”);  

Definition and Usage

The LCASE() function transforms a string to lowercase.

Note: The LOWER() function serves as a synonym for the LCASE() function.

Syntax

LCASE(text)

Parameter Values

Parameter

Description

text

Mandatory: The string to be converted.

Technical Details

Works in: From MySQL 4.0

More Examples

Example

Transform the text in the “CustomerName” column to lowercase.

SELECT LCASE(CustomerName) AS LowercaseCustomerName
FROM Customers;