{"id":7334,"date":"2014-11-22T00:00:46","date_gmt":"2014-11-22T00:00:46","guid":{"rendered":"http:\/\/craftydba.com\/?p=7334"},"modified":"2017-10-11T13:43:22","modified_gmt":"2017-10-11T13:43:22","slug":"boston-code-camp-22","status":"publish","type":"post","link":"https:\/\/craftydba.com\/?p=7334","title":{"rendered":"Boston &#8211; Code Camp #22"},"content":{"rendered":"<p>I am thrilled about the opportunity to present at <a href=\"https:\/\/www.bostoncodecamp.com\/CC22\/Sessions\/Details\/10210\">Code Camp 22<\/a> in Boston.  It will be a good time to meet old friends and make new ones.  <\/p>\n<p>I hope you have time to attend this awesome free event on November 22 nd,  2014 at the Microsoft New England Research &amp; Development (NERD) building, One Memorial Drive, Cambridge, MA.  <\/p>\n<p>Below are the details for my presentation.<\/p>\n<p><span style=\"color: #008000\">Topic:<\/span><\/p>\n<p style=\"padding-left: 30px\">Effective use of temporary tables<\/p>\n<p><span style=\"color: #008000\">Abstract:<\/span><\/p>\n<p style=\"padding-left: 30px\">Every developer eventually comes against business logic that can\u2019t be handled with a single simple or complex query. TSQL provides the developer with several constructs that can store temporary result sets that are passed to the next query in the script.<\/p>\n<p style=\"padding-left: 30px\">I will be covering these various TSQL techniques with examples using the [AdventureWorks] database as well as a toy database called AUTOS. The pros and cons of each construct will be examined. Advanced options like enabling trace flag 1118 will be explored.<\/p>\n<p><span style=\"color: #008000\">Coverage:<\/span><\/p>\n<p style=\"padding-left: 30px\">1 &#8211; Derived tables.<br \/>\n2 &#8211; Local temporary tables.<br \/>\n3 &#8211; Global temporary tables.<br \/>\n4 &#8211; Table variables.<br \/>\n5 &#8211; Common Table Expressions (CTE).<br \/>\n6 &#8211; User databases in [tempdb].<br \/>\n7 &#8211; Trace Flag 1118.<\/p>\n<p>Details:<\/p>\n<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2011\/09\/nashua-sql-saturday-146-temporary-tables-by-jminer-20oct2012.zip\">presentation bundle<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am thrilled about the opportunity to present at Code Camp 22 in Boston. It will be a good time to meet old friends and make new ones. I hope you have time to attend this awesome free event on November 22 nd, 2014 at the Microsoft New England Research &amp; Development (NERD) building, One Memorial Drive, Cambridge, MA. Below are the details for my presentation. Topic: Effective use of temporary tables Abstract: Every developer eventually comes against business logic that can\u2019t be handled with a single simple or complex&hellip;<\/p>\n","protected":false},"author":1,"featured_media":7300,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[600],"tags":[1077],"class_list":["post-7334","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pres","tag-john-miner-presenter-boston-code-camp-22-effective-use-of-temporary-tables-microsoft-nerd"],"_links":{"self":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/7334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7334"}],"version-history":[{"count":0,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/7334\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/media\/7300"}],"wp:attachment":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}