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: MERGE - INSERT/UPDATE

Re: MERGE - INSERT/UPDATE

From: G Quesnel <dbaguy_ott_at_yahoo.com>
Date: 5 May 2005 14:02:01 -0700
Message-ID: <1115323798.591234.262780@g14g2000cwa.googlegroups.com>


The way I look at it, your # 7 is backward ... I would think you would want to produce
Select count(sku_id) from sku_ext ... with one of the following 1- where sku_id not in (select sku_id from sku); -- value not in parent table
 or
2- where sku_id not in (select sku_id from sku_attr); -- value not in existing table
Implying that you are looking in the new table, for values that do not exist in your old table(s) Received on Thu May 05 2005 - 16:02:01 CDT

Original text of this message

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