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 edit table in sql server 2017?
How to find the login name linked to a given user name?
Can we join two tables without primary key?
Is candidate a key?
How to download and install the scaled-down database adventureworkslt?
Can foreign key be duplicate?
What is mean by candidate key?
what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration
Where do you find the default Index fill factor and how to change it?
How to reaname table name without using sp_Rename in sql server..?
What is a fill factor?
Define model database?
Once setting replication, can you have distributor on sql server 2005, publisher of sql server 2008?
Can I delete event logs?
How to create function without parameter in sql server?