January 31, 2011 at 11:15 pm
I need to know the difference between temp table and table variable..n also the similarities between them..plz help me with it.
January 31, 2011 at 11:20 pm
Hi
Just refer this post
http://www.sqlservercentral.com/Forums/Topic1055670-391-1.aspx
Just searching the older posts will fetch you answer for these questions.!!
January 31, 2011 at 11:24 pm
January 31, 2011 at 11:26 pm
January 31, 2011 at 11:37 pm
Similarities are listed in this link
February 1, 2011 at 12:17 am
Thank you so much guys..it really helped me a lot.
February 1, 2011 at 7:49 am
deepikamm (1/31/2011)
I need to know the difference between temp table and table variable..n also the similarities between them..plz help me with it.
One of the best articles on the subject is right here on this very site. The author's name is Wayne Sheffield. Check it out...
http://www.sqlservercentral.com/articles/Temporary+Tables/66720/
--Jeff Moden
Change is inevitable... Change for the better is not.
February 2, 2011 at 7:39 am
I recommend to my clients to ONLY use temporary tables unless they have one of the following situations: a) VERY high volume OLTP hits where they need to avoid recompilations to improve performance or b) have massively complex sprocs with repeated DML on temp tables that are causing recompilation issues.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply