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
What is collation sensitivity?
Can we call stored procedure in trigger?
in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration
What are the dis_advantages of stored procedures, triggers, indexes?
How to create an index on an existing table in ms sql server?
What are “lost updates”?
What is the difference function and stored procedure?
how would you troubleshoot blocking? : Sql server database administration
what is the sql equivaent of the dataset relation object ?
What command do we use to rename a database?
what are constraints? Explain different types of constraints? : Sql server database administration
Explain having clause and where clause?
How to change a login name in ms sql server?
between cast and convert which function would you prefer and why?
What is the use of set nocount on/off statement?