Lcase Function In Sql in SQL
LCASE Function in SQL
The LCASE function converts all characters in a string to lowercase.
Syntax:
LCASE(string)string: The input string you want to convert to lowercase.
Example:
SELECT LCASE('Hello World') AS lowercase_text;Result:
| lowercase_text |
|---|
| hello world |
Notes:
LCASEis a synonym forLOWER()in many databases (like MySQL).Use
LOWER()ifLCASEis not supported.
If you want, I can also show examples with UPPER() or other string functions!