CcConvertCase

SQL Case Conversion: LOWER, UPPER, INITCAP Functions

Published 2026-01-27 ยท convertcase.in

SQL databases offer built-in functions for converting text case in queries. Here are the standard functions and their cross-database compatibility.

Try it now โ€” free instant conversion

No signup ยท No limits ยท Works on all devices

Open ConvertCase โ†’

1LOWER() and UPPER()

SELECT LOWER(name) FROM users; -- "john doe"
SELECT UPPER(name) FROM users; -- "JOHN DOE"

2INITCAP() โ€“ PostgreSQL & Oracle

SELECT INITCAP(name) FROM users; -- "John Doe" (capitalises each word)

3MySQL โ€“ No INITCAP

MySQL lacks INITCAP. Use UPPER/LOWER or a custom function. Or convert data with convertcase.in before inserting.

Frequently Asked Questions

How do I make only the first letter uppercase in SQL?

CONCAT(UPPER(LEFT(name, 1)), LOWER(SUBSTRING(name, 2))) โ€” works in MySQL.

Related Guides

Convert Case in Python โ€“ Methods & ExamplesFree Snake_case Converter OnlineConvert Case in JavaScript โ€“ Methods & Examples