Oracle® OLAP DML Reference 10g Release 2 (10.2) Part Number B14346-02 |
|
|
View PDF |
The INITCAP function 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 characters that are not alphanumeric.
Return Value
The same data type as the expression.
Syntax
INITCAP (text-exp)
Arguments
A text expression.
Examples
The following example capitalizes each word in the string.
SHOW INITCAP('the soap') The Soap