delete dup rows in oracle

Newbie Member
28Mar2010,11:30   #1
Kannan S's Avatar
hi...dudes...
can anyone post the simplest ans for deleting duplicate rows in oracle....
Go4Expert Founder
28Mar2010,14:28   #2
shabbir's Avatar
Check Delete duplicate rows from Oracle
Light Poster
23Apr2010,10:55   #3
sudhagar's Avatar
Quote:
Originally Posted by Kannan S View Post
hi...dudes...
can anyone post the simplest ans for deleting duplicate rows in oracle....
try this one n let me know.. it will delete duplicate row from the table..


delete from employee t1 where exists(
select * from employee t2 where t2.name=t1.name and
t2.sa=t1.sa and t2.rowid>t1.rowid);
Newbie Member
7Jun2010,10:01   #4
PRASOON's Avatar
Ya this is working dude