Table Vars and Temp Tables: What you NEED to know! (SQL Saturday #96, Washington, DC)
A talk by Wayne Sheffield
About the Talk
November 5, 2011 9:45 AM
Microsoft, Washington, DCMicrosoft, Washington, DC
Almost every SQL Developer is familiar with Table Variables and Temporary Tables. While each of these objects represent temporary storage, there are also substantial differences between them. Understanding the differences between Table Variables and Temporary Tables, and the ramifications that those differences cause, is essential to being able to properly select the appropriate object for use in your development tasks. In this code filled session, we’ll discover the differences and similarities of Temporary Tables and Table Variables, dispel some widespread myths about each, and answer the most important questions of them all, "When do I use one or the other and what are the various impacts of doing so?"