how to delete duplicate rows in sql server2005
Answer Posted / sundaravadivel g
Select top 1 * from table where a=1
select top 1* into table1 from table where a=1
delete from table
insert into table
select * from table1
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
Explain the stored procedure?
How to create a dml trigger using create trigger statements?
What are parameterized reports? What are cascading parameters in ssrs reports?
What are the types of dml?
What is page in sql server?
what are statistics, under what circumstances they go out of date, how do you update them? : Sql server database administration
Describe and explain about SQL native client?
Is oracle faster than sql server?
What are different types of statements that are supported by sql?
What is a trigger and types of a trigger?
What is RMS migrations?
Explain what is lock escalation and what is its purpose?
Can another user execute your local temporary stored procedures?
Explain the truncate command? : SQL Server Architecture
Can we use where and having clause together?