×

Loading...

You can use ROWID to identify two records with same contents, then write a PL/SQL as inside:

... ...
cursor cur_del is sel * from tab1;
... ...
begin
for cur_1 in cur_del loop
delete from table1
where column1=cur_1.column1
and column2=cur_1.column2
... ...
and columnn=cur_1.columnn
and rowid<>cur_1.rowid;
commit;
end loop;
end;
Report