Skip to content

INITCAP

  • string: It refers to the input string on which the INITCAP function is to be applied. This function converts the first letter of each word in the string to uppercase and the rest to lowercase.
SELECT INITCAP('hello WORLD') AS Sample_Output FROM dual;
SAMPLE_OUTPUT
Hello World

The INITCAP function in Oracle is used to convert the first letter of each word to uppercase, while the rest of the characters in the word are converted to lowercase. In the given example, ‘hello WORLD’ is converted to ‘Hello World’.