Delete duplicate records from the table?(Table must have
unique id)
Answer Posted / naren
delete id from table where id in(select id from table having count(id)>1)
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Does order by actually change the order of the data in the tables or does it just change the output?
How to declare and use cursor variables?
How to create nested stored procedure?
What are the properties of sub-query?
what is the difference between Delete and Truncate command in SQL
do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
What part does database design plays a role in performance of an sql server-based application?
What is raiseerror? What is raiseerror?
Can you pass expressions to stored procedure parameters?
What is implicit cursors?
Does server sql treat char as a variable-length or fixed-length column?
How to find the version of sql server? : sql server database administration
What different steps will a sql server developer take to secure sql server?
What is the process of indexing?
What are indexers?