Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Need to change case SMITH, JOE to Smith, Joe

Re: Need to change case SMITH, JOE to Smith, Joe

From: David M. Smith Jr. <skandor_at_worldnet.att.net>
Date: 15 Jan 1999 04:24:20 GMT
Message-ID: <77mftk$gt0@bgtnsc02.worldnet.att.net>


Neither replace or translate. Simply use initcap.

e.g.
Table: clients
Column: client_name varchar2(30)

update clients
set client_name = initcap(client_name);

That's all there is to it.

Dalgarno, Garry wrote in message <9vvn2.83$wF1.444480_at_news.bctel.net>...
>I need to change the case (Upper to Lower) in a few of my database columns.
>But I still need the first char to remain a Uppercase.
>
>From: ALL UPPER
>to: All Mixed (leave the first char Upper in a word, and lower the rest)
>
>I need to use standard sqlplus...
>Which is better? replace or translate
>How do leave the first char Upper?
>
>Thanks,
>Garry Dalgarno
>
>
Received on Thu Jan 14 1999 - 22:24:20 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US