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
How to drop an existing schema in ms sql server?
what is a check constraint?
When we should use @@error?
How do I start sql server 2017?
Why do you need a sql server?
What is a hint?
What structure can you implement for the database to speed up table reads?
Explain powershell included in sql server 2008?
What is the minimum recommended amount of ram for sql server 2012 enterprise?
Explain transaction server distributed transaction?
can you instantiate a com object by using t-sql? : Sql server database administration
Do you know what are the steps to process a single select statement?
Does a full backup include transaction log?
Explain rdbms?
What are the basic functions for master, msdb, model, tempdb and resource databases?