Write a query to delete duplicate records in SQL SERVER
Answer Posted / abc
SELECT distinct column_names INTO temp_table FROM main_table
drop table main_table
sp_rename temp_table,main_table
| Is This Answer Correct ? | 19 Yes | 12 No |
Post New Answer View All Answers
Define left outer join?
what is memory-optimized nonclustered indexes
What are the differences between substr and charindex in sql server.
What is provisioning, billing and metering, and connection routing concepts in the service layer?
What is bcp? When does it use?
What is the use of nvl work?
What are the source of constraints?
Explain few examples of RDBMS?
can a database be shrunk with users active? : Sql server administration
Explain optimistic and pessimistic concurrency?
Is the order of columns in the set clause important in ms sql server?
How do I install sql server?
What is the difference between clustered and a non-clustered index?
What is the use of group by clause?
How to find Duplicate Records In table?