Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Deleting Duplicate Rows
Hi,if for some reasons you don't want to use rowid,
try this:
step 1.
create table table_name2
as select distinct * from table_name1;
step 2.
drop table_name1;
step 3.
rename table_name2 to table_name1;
step 4.
Don't forget to recreate any
constraints,indexes,triggers and permissions that were
on the original table.
inna
Method
--- Azizulah Khan <Azizulah.Khan_at_almarai.com> wrote:
>
>
>
> Hi list,
>
> Do anyone have idea of deleting duplicate rows
> without using ROWID from the
> table ????.
>
> TIA
>
> Khan
>
> --
> Author: Azizulah Khan
> INET: Azizulah.Khan_at_almarai.com
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>
![]() |
![]() |