Thursday, May 08, 2025

Breaking News
>> Securing and encrypt View State and Cookies values  >> Page has one or more controls that do not correspond with   >> “The Controls collection cannot be modified because the control contains code blocks”  >> How to fix "Validation(): Element 'xxxx' is not supported  >> How to create a new session in ASP.NET programmatically  >> MySQL Database Backup using mysqldump command    

Editors Picks

Friday, December 9, 2011

how to find and delete duplicate records in oracle

 // For Select duplicate records

select *
from table_Name
group by key1, key2 having count (*) > 1;


// For   delete duplicate records

delete from test a
where rowid <> ( select max(rowid)
from test b
where a.sno = b.sno
and a.sname = b.sname )

No comments :

Post a Comment

Contact Us

Name

Email *

Message *