Oracle9i SQL Reference Release 1 (9.0.1) Part Number A90125-01 |
|
Functions, 52 of 166
initcap::=
initcap
INITCAP
returns char, with the first letter of each word in uppercase, all other letters in lowercase. Words are delimited by white space or characters that are not alphanumeric.
char can be of any of the datatypes CHAR
, VARCHAR2
, NCHAR
, or NVARCHAR2
. The return value is the same datatype as char.
Note:
This function does not support |
The following example capitalizes each word in the string:
SELECT INITCAP('the soap') "Capitals" FROM DUAL; Capitals --------- The Soap
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|