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

Explain different types of Normalization.

1897


What is failover clustering overview?

1139


How to find index size for each index on table?

1053


after migrating the dts packg to ssis by using migrtn wizrd in 2005. iam not able to open ssis pack and getting error. what r those errors? how to resolve?

2138


What Are the Main Features of SQL Azure?

121


You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?

319


What is the meaning of sql server?

1034


What are the system database in sql server 2008?

1093


What are sub reports and how to create them?

144


Explain identity in sql server?

1053


Differentiate between sql temp table vs table variable?

927


Write SQL queries on Self Join and Inner Join.

1214


Is it true that rules do not apply to data already existing in a database at the time the rule is created?

1085


What is the difference between nvl and nvl2?

1024


What are indexes in ms sql server?

1114