How To delete duplicate record from a particular table?
Answer Posted / sudhagar
Delete from (select * from <TABLE_NAME> where rowid not in
(select min(rowid) from <TABLE_NAME> group by c1,c2...))
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
How to divide query output into multiple groups with the group by clause in ms sql server?
What are tables in sql server?
Explain time data type in sal server 2008?
What are the different sql server versions?
What is self contained scalar sub query?
What is the cartesian product of table?
what is new philosophy for database devises for sql server 7.0? : Sql server database administration
How to return the top 5 rows from a select query in ms sql server?
What does it mean if @@cursor_row returns a negative number?
What are the transaction properties?
How to delete duplicate rows?
what is denormalization? : Sql server database administration
What is dbcc? Give few examples.
Tell me when is the update_statistics command used?
What happens if an integer is too big for int date type?