RE: Duplicate rows

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

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
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
-----------------------------------------------------------------

Other related posts: