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

Home -> Community -> Usenet -> c.d.o.server -> Re: help: many updates

Re: help: many updates

From: dias <ydias_at_hotmail.com>
Date: 23 Feb 2003 00:19:05 -0800
Message-ID: <55a68b47.0302230019.7ce6d4cb@posting.google.com>


Hi,

Could you explain exactly what you want to do ? You work with just one table "TEST" or with more than one table ?

If it's just one table, you can't do the update with just one sql, beacause the where clause is not the same.

Dias

"charlie cs" <cs3526(no-spam)@yahoo.com> wrote in message news:<%yC5a.4661$_J5.1250_at_nwrddc01.gnilink.net>...
> We are using 9.2.
> We need to update a big table like this
>
> SQL> update table test set colA='A' where colA_1='X';
> SQL> update table test set colB='B' where colB_1='Y';
> SQL> update table test set colC='C' where colC_1='Z';
>
> .....
>
> Is there any way we can do this in one sql, instead of making several
> database calls?
>
> Thanks for you help.
Received on Sun Feb 23 2003 - 02:19:05 CST

Original text of this message

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