Use of this site constitutes acceptance of our User Agreement (effective 1/2/2014) and Privacy Policy (effective 1/2/2014). Golf Digest may earn a portion of sales from products that are purchased through our site as part of our Affiliate Partnerships with retailers. Your California Privacy Rights The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of CondÃ© Nast.
Temp table: A Temp table is easy to create and back up data. Table variable: But the table variable involves the effort when we usually create the normal tables. Temp table: Temp table result can be used by multiple users. Table variable: But the table variable can be used by the current user only.
I am new to SQL Server 2005, I came across this Temporary Table type CTE, Temp Table, and Variable Table. Can any one explain in detail or provide any URL for difference between CTE, #table_name, ##table_name, and Variable Table and when to use this thing :-) I gone through the Google but did not got the proper information.