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...

How to delete duplicate records from a table?(for suppose in
a table we have 1000 Records in that we have 200 duplicate
Records , so ,how to findout that duplicate Records , how to
delete those Records and arranged into sequence order? one
more thing that there is no primary key at all)

Answer Posted / sneha

select distinct * from table into new_table;

delete table;

select * from new_table into table;

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to execute a sql statement using mssql_query()?

1043


Explain multiserver query

1032


Explain the different types of joins?

988


Do I need a report server to run reports in my application?

165


Explain nested trigger in sql?

1065


What is mean by dml?

1001


Is oracle faster than sql server?

947


How to test a dml trigger in ms sql server?

1037


explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

898


please differentiate between delete and truncate?

989


Which tools are available to manage SQL Azure databases and servers?

115


How do you create an execution plan?

939


Explain tables in SQL Azure?

120


What is the difference between the application object and session object?

1061


Where in ms sql server is ’100’ equal to ‘0’?

1078