RE: Duplicate rows

  • From: "Jamadagni, Rajendra" <Rajendra.Jamadagni@xxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 2 Jun 2004 07:33:47 -0400

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 ... 

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@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Natural Join B.V.
Sent: Wednesday, June 02, 2004 9:21 AM
To: oracle-l@xxxxxxxxxxxxx; 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

Please see the official ORACLE-L FAQ:
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
Archives are at
FAQ is at

Other related posts: