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
What happens when converting big values to numeric data types?
How to convert numeric expression data types by assignment operations?
What do you mean by data integrity?
What is a transaction and why is it important?
Explain about unique identifier data type in sql server?
How to transfer data from a cursor to variables with a "fetch" statement?
How to download and install microsoft .net framework version 2.0?
What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?
What new data source types were added in ssrs 2014?
What options are there to delete rows on the publisher and not on the subscriber? : sql server replication
What is sub-query in sql server? Explain its properties.
what do you understand by change data capture?
What is table join?
What is difference between group by and having?
How to create a ddl trigger using "create trigger" statements?