bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL LCASE() Function

Concept visual

MySQL LCASE() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Convert the text to lower-case:

SELECT LCASE("SQL Tutorial is FUN!");

Definition and Usage

Formula

The LCASE() function converts a string to lower - case.

Note:

The LOWER() function is a synonym for the LCASE() function.

Syntax

Lcase(

text )

Parameter Values

Parameter

Description text

Required. The string to convert

Technical Details

Works in:

From MySQL 4.0

More Examples

Example

Formula

Convert the text in "CustomerName" to lower - case:

SELECT LCASE(CustomerName) AS LowercaseCustomerName

FROM Customers;

Previous

❮ MySQL Functions

Next

Previous

MySQL INSTR() Function

Next

MySQL LEFT() Function