Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
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;