Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Convert to Title Case 1

Status
Not open for further replies.

Gnism

Technical User
Jan 9, 2003
29
US
In our database the first_name field is in ALL CAPS. How can I convert/display the name JOHN to John in the query results or the report?
 
This probably depends on your RDBMS. In Oracle, you could use the INITCAP function:

SELECT initcap(first_name)
FROM my_table
WHERE first_name = 'JOHN';

INITCAP(FIRST_NAME)
--------------------
John
 
That's what i needed - Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top