In Sql server, how to delete duplicate records?
Murugavel Sadagopan
Please refer the article Remove duplicate records/data from Sql Server database table http://www.webcodeexpert.com/2013/11/how-to-remove-duplicate-recordsdata.html
DELETE FROM tblUsersJobMapping WHERE (1 > 1)
DELETE FROM <table_name> T1WHERE T1.ROWID < (SELECT MAX(T2.ROWID) FROM <table_name> T2 WHERE T2.<common column name> = T1.<commoncolumn name>)