Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> InitCap Software or script?
I have a fellow DBA that has to do some data cleansing. He is looking for
some software that can properly init cap a last name, like McDonald.
Obviously, Oracle has an initcap function...
SQL> select initcap('GRABOWY') from dual;
INITCAP
Elapsed: 00:00:00.50
SQL> select initcap('MCDONALD') from dual;
INITCAP(
Elapsed: 00:00:00.10
SQL>
But it does not recognize "special" names like McDonald, so I was wondering
if someone else has encountered this, and what their solution was??
TIA!!!
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Grabowy, Chris
INET: cgrabowy_at_fcg.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Apr 10 2002 - 09:38:22 CDT
![]() |
![]() |