How To delete duplicate record from a particular table?
Answer Posted / manoj
DELETE FROM table_name a
WHERE ROWID >(SELECT min(ROWID)
FROM table_name b
WHERE a.col_1=b.col_1 )
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
How to find out what is the default collation in a database?
What are sql azure firewall rules?
What is difference between clustered and non clustered index?
How can we use ConnectorJ JDBC Driver with MS SQL?
What are joins in sql and what are the different types of joins?
What are the general features of sql server management studio? : sql server management studio
Difference between primary key and clustered index?
What kind of problems occurs if we do not implement proper locking strategy?
How to modify an existing stored procedure in ms sql server?
How and why use sql server?
How to optimize stored procedures in sql server?
in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration
How to count rows with the count(*) function in ms sql server?
If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?
What are the types of database recovery models?