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 -> help: many updates

help: many updates

From: charlie cs <cs3526(no-spam)_at_yahoo.com>
Date: Sat, 22 Feb 2003 03:57:47 GMT
Message-ID: <%yC5a.4661$_J5.1250@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 Fri Feb 21 2003 - 21:57:47 CST

Original text of this message

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