Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Remove Duplicates

RE: Remove Duplicates

From: S B <bhulubhuli_at_YAHOO.COM>
Date: Fri, 07 Jun 2002 22:23:25 -0800
Message-ID: <F001.004785CC.20020607222325@fatcity.com>


If your Duplicates are large in number then the following method
works fine..

1.
create table TMP as select distinct ( <set of columns
> ) from <ORIGINAL_TABLE>

2. truncate table <ORIGINAL_TABLE>

3. insert into <ORIGINAL_TABLE> select * from TMP/use SQL Loader after taking a dump from TMP.

Bhulu


Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: S B
  INET: bhulubhuli_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sat Jun 08 2002 - 01:23:25 CDT

Original text of this message

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