INITCAP() returns the character string passed into it with the first letter of each word capitalized : INITCAP « Char Functions « Oracle PL / SQL






INITCAP() returns the character string passed into it with the first letter of each word capitalized

 
SQL>
Syntax: INITCAP(<character_string>)
SQL>
SQL> SELECT INITCAP('hello world') "HELLO"
  2  FROM dual;

HELLO
-----------
Hello World

SQL>

 








Related examples in the same category

1.Initcap: changes the first (initial) letter of a word (string) or series of words into uppercase
2.Simple demo for INITAP: sets the first character in each word to uppercase and the rest to lowercase
3.INITCAP: capital the first letter in a word
4.select initcap('THESE WORDS will be INITcapped')
5.select initcap( table_name ) from user_tables
6.INITCAP a sentence