Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> 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
-----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.
-- 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