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: - H.E.L.P w TRANSLATE function

Re: - H.E.L.P w TRANSLATE function

From: Wim Jans <wim_at_cereus.be>
Date: Tue, 14 Dec 1999 19:27:39 GMT
Message-ID: <01bf4669$330a80e0$380210ac@wja.kodela.iuh.an>


Hello,

You could try this

select replace('It is JULY', 'JULY', 'AUGUST') from dual;

Wim

ZC <zuin_chn_at_my-deja.com> wrote in article <835ui9$c61$1_at_nnrp1.deja.com>...
> If there is an existing record in a database, for example: JULY
> How would you chage it to AUGUST without having to delete the entire
> row.
>
> I'm trying this, but I'm not getting any luck. JUNE is in a column
> called month.
>
> Should i put COLUMN like this? TRANSLATE(column('AUGUST'
>
>
> SELECT TRANSLATE('AUGUST', 'ABCDEFGHIJKLMONOQRSTUVWXYZ'
> 'ABCDEFGHIJKLMONOQRSTUVWXYZ')
> from customer
> where cust_code = '99078';
>
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Received on Tue Dec 14 1999 - 13:27:39 CST

Original text of this message

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