Other related articles:

Recently viewed articles:

SQL INITCAP Function

SQL INITCAP() function is used to capitalized first letter of each word in a string. It increases the readability of the text. It converts the input string to uppercase the first letter of each word in a string and lowercase the other letters. It is mostly used on description fields:

Example:

The following SQL INITCAP statement returns ‘Abcd’ as output:

SELECT INITCAP(‘ABCD’) FROM dual;

Output:
sql-initcap-image1

Example 2:

The following SQL INITCAP Function will return employee names with capital first letter and rest of the name as lower letters:

SELECT INITCAP(first_name) FROM employee;

Output:
sql-initcap-image2