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: Avoiding Duplicate Inserts

Re: Avoiding Duplicate Inserts

From: sim <jmenker_at_muenster.de>
Date: 21 Nov 2005 00:33:34 -0800
Message-ID: <1132562014.091522.49850@z14g2000cwz.googlegroups.com>


You can either do a lookup using some kind of outer join or simply subtract the data you want to insert in the table from the data already present in the table using 'MINUS':

select key
from target
minus
select key
from source

sim Received on Mon Nov 21 2005 - 02:33:34 CST

Original text of this message

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