if 3 duplicate records in a table,i want to delete 2 duplicate
records by keeping 1 duplicate and 1 original as it is,how?

Answer Posted / arun ashok

STEP 1 : Insert distinct value in the one new table.
STEP 2 : Delete the values from existing table.
STEP 3 : Again insert the values from new table to existing
table.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between a primary key and a unique key? : Sql server database administration

713


How to configure and test odbc dsn settings?

799


What is the use of @@spid?

742


Is the primary key column of a table an index in ms sql server?

700


Can a stored procedure call itself or recursive stored procedure? How much level sp nesting is possible?

779






Can you tell me about the concept of ER diagrams?

796


What are the difficulties faced in cube development? : sql server analysis services, ssas

797


What is the server name in sql server?

714


What are drillthrough reports?

128


What are the different subsets of sql?

1180


What are the different types of replication are there in sql server 2000?

760


How to test odbc dsn connection settings?

705


What is blocking?

717


Explain about temporary stored procedure?

681


You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?

292