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

How do you manipulate data?

948


What is the use of nvl work?

1043


What is for xml in sql server?

1135


Explain what is cte (common table expression)?

1183


What is user-defined inline table-valued function?

1003


in the physical file layout, where should the transaction log be stored in relation to the data file?

1038


What is set nocount on and what is set nocount off?

993


What is a non equi join?

1021


Why is sql server log file full?

1078


List out some of the requirements to set up a sql server failover cluster?

1072


How do clustered indexes store data?

1150


Explain what are the database objects? : SQL Server Architecture

1141


How you can get a list of all the table constraints in a database?

997


What are out-of-range errors with date and time literals?

1091


What is ddl command?

1031