Following code is useful to delete duplicate records in SQL Server.
For Example : Table TABLE_NAME has three columns COL1, COL2 and COL3
Now you can use below script to delete duplicate records from table TABLE_NAME.
DELETE
For Example : Table TABLE_NAME has three columns COL1, COL2 and COL3
Now you can use below script to delete duplicate records from table TABLE_NAME.
DELETE
Source:http://www.tutorialsdesk.com/2012/09/how-to-remove-duplicate-rows-in-sql.html
Tidak ada komentar:
Posting Komentar