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
Characterize join and name diverse sorts of joins?
Which data type columns are the best candidates for full-text indexing?
What is log ldf?
How to change parameter value inside the report?
Where actually sql azure database is hosted?
What is a View ? Can we insert, Update and delete a view?
What is a synonym for manipulation?
Tell me what is difference between view and materialized view?
Explain different types of Normalization.
Why truncate is ddl command?
What are system databases into sql server (2005/2008) : sql server database administration
What is difference statement and preparedstatement?
how do you implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql server database administration
what information is maintained within the msdb database? : Sql server administration
Mention the differences between substr and charindex in sql server.