Oracle® OLAP Expression Syntax Reference Release 11.2 E23381-01 |
|
|
PDF · Mobi · ePub |
INITCAP
returns a specified text expression, with the first letter of each word in uppercase and all other letters in lowercase. Words are delimited by white space or non-alphanumeric characters. The data type of the return value is the same as the original text.
CHAR | NCHAR | VARCHAR2 | NVARCHAR2
INITCAP(char)
char
can be any text expression.
INITCAP('top ten tunes')
and INITCAP('TOP TEN TUNES')
both return the string Top Ten Tunes
.