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 -> Fastest way to check for dupes

Fastest way to check for dupes

From: Ryan Gaffuri <rkg100_at_erols.com>
Date: 7 Mar 2002 08:29:42 -0800
Message-ID: <6757365f.0203070829.508dbc76@posting.google.com>


I have two tables with identical structure. A and B

I am using SQLLDR to load data into table B. I need to delete all the rows in table B that EXACTLY match a row in table A. If a single column is different I need to keep it.

I can do a delete, run a cursor... what runs the fastest? Or is there a better way. Management does not want me to use a seperate C table to load the data.

Ryan Gaffuri Received on Thu Mar 07 2002 - 10:29:42 CST

Original text of this message

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