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 -> update multiple columns in pl/sql

update multiple columns in pl/sql

From: Tlcbus <tlcbus_at_aol.com>
Date: 1997/12/13
Message-ID: <19971213171700.MAA05318@ladder02.news.aol.com>#1/1

To all:

Is there a better way to code the following statement ?

A= a*b;
B= a*b*c;         A,B,C are calculated values.
C=b*c;

update tab set (col1,col2,col3) =(select A,B,C from dual);

Thanks in advance, Ted Chyn Received on Sat Dec 13 1997 - 00:00:00 CST

Original text of this message

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