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: Duplicate rows

RE: Duplicate rows

From: Jamadagni, Rajendra <Rajendra.Jamadagni_at_espn.com>
Date: Wed, 2 Jun 2004 07:33:47 -0400
Message-ID: <A186CBDC8B1D61438BC50F1A77E91F7309B6103A@xchgbrsm1.corp.espn.pvt>


And then by doing CTASD you will loose all grants,synonyms etc ... I wonder how long it would take to delete 5000 rows. Create unique constraint and catch exceptions into an exceptions table (created with $OH/rdbms/admin/utlexcpt.sql) ... From there on it should be easy ...

Raj




Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. select standard_disclaimer from company_requirements; QOTD: Any clod can have facts, having an opinion is an art !

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Natural Join B.V. Sent: Wednesday, June 02, 2004 9:21 AM
To: oracle-l_at_freelists.org; ORALCE LIST
Subject: Re: Duplicate rows

CTASD (create table as select distinct) followed by a DROP and a RENAME?

> Dear All,
>
> One table is having more than 5000 duplicate record. We would like to
> remove all the duplicate records.
>
> Using rowid method, it takes much time to execute.
> Is there any other way to remove all the duplicate rows in a faster
manner.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed Jun 02 2004 - 06:30:46 CDT

Original text of this message

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