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: UPDATE SET of multiple columns

Re: UPDATE SET of multiple columns

From: Brian Peasland <oracle_dba_at_nospam.peasland.net>
Date: Thu, 13 Apr 2006 18:22:54 GMT
Message-ID: <IxoB27.519@igsrsparc2.er.usgs.gov>


You'll probably want multiple update statements.

update DISK_STATS_TBL
set DISKBSIZE_STAT = 0 where DISKBSIZE_STAT IS NULL;

update DISK_STATS_TBL
set DISKBUSY_STAT = 0 where DISKBUSY_STAT IS NULL;

update DISK_STATS_TBL
set DISKREAD_STAT = 0 where DISKREAD_STAT IS NULL;

etc.

HTH,
Brian

-- 
===================================================================

Brian Peasland
oracle_dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Thu Apr 13 2006 - 13:22:54 CDT

Original text of this message

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