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 w. static SQL vs. single dynamic SQL update

Re: Multiple updates w. static SQL vs. single dynamic SQL update

From: DA Morgan <damorgan_at_psoug.org>
Date: Sun, 09 Jul 2006 11:21:47 -0700
Message-ID: <1152469309.541841@bubbleator.drizzle.com>


Malcolm Dew-Jones wrote:

> How about 3.
>
> insert the values to be selected into a global temporary table and then
>
> update customers
> set active = 1
> where customer_code in
> ( select selected_code from my_selection_table
> )

Check out the demo I referenced ... inserting into a table is unnecessary.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Sun Jul 09 2006 - 13:21:47 CDT

Original text of this message

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