• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql

syntax and example of INITCAP Function in oracle plsql

Oracle PL/SQL INITCAP Function

November 24, 2012 by techhoneyadmin

Oracle PLSQL INITCAP FunctionOracle INITCAP Function is used to convert the first alphabet of each word in a string to upper case and the rest of the letters in each word of the string to lower case.SQL INITCAP Function can be used on a table column to get values in INITCAP format.


Oracle INITCAP Function Syntax

SELECT INITCAP(string)
FROM table_name;

In the above Oracle INITCAP Function Syntax:-

string is the string whose first alphabet of each word will be converted to upper case and rest of the letters of each word will be in lower case .


Oracle INITCAP Function – Using SQL SELECT Statement Example

Oracle INITCAP Function is used with the SQL SELECT statement.

For example, the SQL INITCAP Function query below returns the INITCAP version of the string passed.

SELECT INITCAP('tech honey')
FROM dual;

The above return SQL INITCAP Function query returns ‘Tech Honey’.


Oracle INITCAP Function – Converting UPPER CASE to INITCAP

Oracle INITCAP Function can convert an upper case word to INITCAP.

For example, the SQL INITCAP Function query below returns the INITCAP version of the string passed.

SELECT INITCAP('TECH HONEY')
FROM dual;

The above SQL INITCAP Function query returns ‘Tech Honey’.


Oracle INITCAP Function – Use with table column

Oracle INITCAP Function can also be applied to a column or field of a database table.

For example, the SQL INITCAP Function query below returns the name of employees in INITCAP format from employee table.

SELECT INITCAP(employee_name)
FROM employee;

Filed Under: function Tagged With: how to use INITCAP Function in oracle database query, how to use INITCAP Function in oracle plsql, how to use INITCAP Function in oracle sql, INITCAP Function in oracle plsql, INITCAP Function in oracle sql, INITCAPPLSQL, syntax and example of INITCAP Function in oracle database query, syntax and example of INITCAP Function in oracle plsql, syntax and example of INITCAP Function in oracle sql, using INITCAP Function in oracle database query, using INITCAP Function in oracle plsql, using INITCAP Function in oracle sql

Copyright © 2025 · Parallax Pro on Genesis Framework · WordPress · Log in