{"id":6889,"date":"2014-02-24T00:00:42","date_gmt":"2014-02-24T00:00:42","guid":{"rendered":"http:\/\/craftydba.com\/?p=6889"},"modified":"2016-04-20T01:37:34","modified_gmt":"2016-04-20T01:37:34","slug":"north-haven-sql-saturday-268","status":"publish","type":"post","link":"https:\/\/craftydba.com\/?p=6889","title":{"rendered":"North Haven \u2013 SQL Saturday #268"},"content":{"rendered":"<p>I am totally pumped up about having the opportunity to present at SQL Saturday <a href=\"http:\/\/www.sqlsaturday.com\/268\/eventhome.aspx\">#268<\/a> in North Haven.<\/p>\n<p>It will be a good time to meet old friends and make new ones.  I hope you have time to attend cool event on March 1st, 2014!<\/p>\n<p><span style=\"color: #008000\">Topic:<\/span><\/p>\n<p>Effective use of temporary tables <\/p>\n<p><span style=\"color: #008000\">Abstract:<\/span><\/p>\n<p>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>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>1 \u2013 Derived tables.<br \/>\n2 \u2013 Local temporary tables.<br \/>\n3 \u2013 Global temporary tables.<br \/>\n4 \u2013 Table variables.<br \/>\n5 \u2013 Common Table Expressions (CTE).<br \/>\n6 \u2013 User databases in [tempdb].<br \/>\n7 \u2013 Trace Flag 1118.<\/p>\n<p>Here is a previous slide deck.  I will update later for this event.<\/p>\n<p><a href='https:\/\/craftydba.com\/wp-content\/uploads\/2012\/10\/nashua-sql-saturday-146-temporary-tables-by-jminer-20oct2012.zip'>slide deck<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am totally pumped up about having the opportunity to present at SQL Saturday #268 in North Haven. It will be a good time to meet old friends and make new ones. I hope you have time to attend cool event on March 1st, 2014! 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 query. TSQL provides the developer with several constructs that can store temporary result sets that are passed to the next query&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2527,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[600],"tags":[589,1020],"class_list":["post-6889","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pres","tag-john-f-miner-iii--pass--presentation--sql-saturday","tag-sql-sat-268"],"_links":{"self":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/6889","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=6889"}],"version-history":[{"count":0,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/6889\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/media\/2527"}],"wp:attachment":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}