how to delete duplicate rows in sql server2005
Answer Posted / apps
select distinct eno,ename into temp_table from main_table
drop table main_table
-----
sp_rename temp_table,main_table
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to get a list of all tables with "sys.tables" view in ms sql server?
What is the primary use of the model database?
Explain various On-Delete options in a DB table. Which is the default option?
How to choose all records from the table?
What is checkpoint in sql server?
How do I clean up sql server transaction log?
How will you make an attribute not process? : sql server analysis services, ssas
How to create a testing table with test data in ms sql server?
explain databases and sql server databases architecture? : Sql server database administration
Difference between drill down and drill through report.
What are the types of indexes?
What is the difference between sql server 2000 object owner and sql server 2005 schema? : sql server database administration
Explain what is “asynchronous” communication in sql server service broker?
What do you understand by a view? What does the with check option clause for a view do?
What are the two modes of authentication in sql server?