Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Explain differences between web edition and business edition?

119


What is the difference between a primary key and a unique key? Are they the same?

1077


Why we use functions in sql server?

1080


which backup strategy you are following at ur company

2148


Can you tell me some of the common replication dmv's and their use? : sql server replication

928


what is database replication? : Sql server database administration

1067


How to Insert multiple rows with a single insert statement?

1056


Can you explain what are commit and rollback in sql?

941


What is a covered index?

939


What are the results of running this script?

931


What command do we use to rename a db, a table and a column?

927


In which format does an image save in SQL Server database ?

1002


Please explain that what are the basic functions for master, msdb, model, tempdb and resource databases? : SQL Server Architecture

979


How to convert a table data in XML format in sql server?

2542


How many databases can we create in a single server?

207