Write a query to delete duplicate records in SQL SERVER
Answer Posted / ashish kumar
select * from dbo.duplicatetest
set rowCount 1
delete from dbo.duplicatetest where iD=1;
set rowCount 0
| Is This Answer Correct ? | 3 Yes | 10 No |
Post New Answer View All Answers
When I run the sql server 2000 setup, it just hangs. What do I do?
What is SQL Azure Federations?
Where do you find the default Index fill factor and how to change it?
What are indexes in sql?
What is the difference between for xml raw and for xml auto?
What is open database communication (odbc)?
What are indexers?
Do you know how to make remote connection in database?
What are the different authentication modes in sql server?
How to create a trigger for insert only?
You want to generate a report that is formatted as a chart. Can you use the report wizard to create such a report?
What is the function of sql server agent windows service?
What is the purpose of sql profiler in sql server?
Explain what role entity and relationship play in an ER diagram.
Scalability, Availability, Integration with internet, etc.)?