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

Is it possible to delete duplicate rows in a table without
using a temporary table ?

Answer Posted / ambuj tayal

Yes, it is possible by using in memory table variables on
SQL server 2000 and above.

A table variable can be created and all disticnt values can
be inserted into this table and then deleting all rows from
first table you can insert back disticnt rows to back to
original table. Table variable would automatically be
destroyed whenever bacth execution finishes.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you find out how many rows returned in a cursor?

1021


Why use identity in sql server?

1090


what is database replication? : Sql server database administration

1052


Is sql server free?

911


What do you mean by data manipulation language?

1007


Define the one-to-one relationship while designing tables.

898


What is transaction server consistency?

1036


What do you understand by mirroring?

991


What specific conditions database should meet, before you can bulk copy data into it using bcp?

975


How to rebuild the master database?

1074


What is meant by Active-Passive and Active-Active clustering setup?

1162


What are the new features in SQL Server 2005 when compared to SQL Server 2000?

1157


Why we should not use triggers?

961


What do we have to check in database testing?

1012


How many types of objects are there?

998