INITCAP

The INITCAP function sets the first character in each word to uppercase and the rest to lowercase.

Syntax

INITCAP( string1 )

Example

SELECT INITCAP('tDv');

The above query returns Tdv.