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

What is the difference between temp table and table variable?

Answer Posted / rathikapoobalan

1. If we use Temporary Table in a stored procedure, We
should drop it at the end.
It is not necessary in the case of Table variable.

2. In Table variable we can hold maximum of 20000 records
only. If it exceeds, we can use temporary table

Is This Answer Correct ?    11 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is statement level trigger?

1008


What is system stored procedures?

1041


What are the steps to take to improve performance of a poor performing query? : sql server database administration

1057


What is entity data services?

1070


What is the simplest way to create a new database in ms sql server?

1010


What is 1nf 2nf and 3nf?

891


What is the rdl file?

138


What are the filtered indexes?

1040


Write a SQL query in order to merge two different columns into single column?

1036


how can u get last observation in an unknown dataset ?

2436


What stored by the master?

952


Why we need to use secondry database file? though, we can do same work using primary database file also.

6894


How does using a separate hard drive for several database objects improves performance right away?

936


What are a scheduled jobs or what is a scheduled tasks?

903


What is sql server 2000 work load governor?

1071