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
How many instances per computer are there in sql server 2000?
Explain the properties of a relational table?
How does using a separate hard drive for several database objects improves performance right away?
Why does a sql statement work correctly outside of a user-defined function, but incorrectly inside it?
Do you know what are the restrictions applicable while creating views? : SQL Server Architecture
Difference between report and query parameter. Why do we need different type of parameter?
How you can change a cross join into an inner join?
Explain candidate key, alternate key, and composite key?
How to create a scrollable cursor with the scroll option?
How do I open port 1433?
What's the information that can be stored inside a bit column?
write an SQL query to list the employees who joined in the month of January?
How do you size a resultset?
What is xml datatype?
What is buffer cash and log cache in sql server?