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: multiple updates in one statement

Re: multiple updates in one statement

From: Volker Hetzer <firstname.lastname_at_ieee.org>
Date: Thu, 29 Jun 2006 16:09:21 +0200
Message-ID: <e80mui$skv$1@nntp.fujitsu-siemens.com>


Prasath schrieb:
> Is it possible to merge the below 2 update statements into one single
> statement.
>
> 1. update test_table set my_col = 1 where my_flag = 'N';
> 2. update test_table set my_col = 2 where my_flag != 'N';
Possible yes, but why would you do that? Lots of Greetings!
Volker

-- 
For email replies, please substitute the obvious.
Received on Thu Jun 29 2006 - 09:09:21 CDT

Original text of this message

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