Tuesday, April 14, 2015
Oracle: Capitalize first letter
Oracle/PLSQL: INITCAP FunctionThis Oracle tutorial explains how to use the Oracle/PLSQL INITCAP function with syntax and examples.
Description
The Oracle/PLSQL INITCAP function sets the first character in each word to uppercase and the rest to lowercase.
Syntax
The syntax for the Oracle/PLSQL INITCAP function is:
INITCAP( string1 )Parameters or Arguments
string1 is the string argument whose first character in each word will be converted to uppercase and all remaining characters converted to lowercase.
Applies To
The INITCAP function can be used in the following versions of Oracle/PLSQL:
- Oracle 12c, Oracle 11g, Oracle 10g, Oracle 9i, Oracle 8i
Example
Let's look at some Oracle INITCAP function examples and explore how to use the INITCAP function in Oracle/PLSQL.
For example:
INITCAP('tech on the net');Result: 'Tech On The Net'
INITCAP('GEORGE BURNS');Result: 'George Burns'
Source: docs.oracle.com techonthenet.com
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment