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 are the different types of collation sensitivity?

809


Tell me something about security and sql azure?

112


How do I schedule a sql server profiler trace?

719


How do you set a trace flag in sql server?

796


What language is sql server written in?

754


How do we know if any query is retrieving a large amount of data or very little data?

756


How to create function without parameter in sql server?

772


Tell me extended events in sql server 2008?

791


What happens if null values are involved in string operations?

758


What do you understand by mirroring and mention the advantages of the mirroring?

812


What is the data type of time?

715


What is ssl in sql server?

777


What is use of @@ spid in sql server?

914


What is merge replication?

892


What are the different types of columns types constraints in the sql server?

769