{"id":2890,"date":"2012-10-19T20:43:01","date_gmt":"2012-10-19T20:43:01","guid":{"rendered":"http:\/\/craftydba.com\/?p=2890"},"modified":"2012-11-12T14:35:24","modified_gmt":"2012-11-12T14:35:24","slug":"nashua-%e2%80%93-sql-saturday-146","status":"publish","type":"post","link":"https:\/\/craftydba.com\/?p=2890","title":{"rendered":"Nashua \u2013 SQL Saturday #146"},"content":{"rendered":"<p><a href=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/sql-sat-logo.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/craftydba.com\/wp-content\/uploads\/2012\/07\/sql-sat-logo.png\" alt=\"\" title=\"sql-sat-logo\" width=\"214\" height=\"75\" class=\"alignleft size-full wp-image-2527\" \/><\/a><\/p>\n<p>I am totally pumped up about having the opportunity to present at SQL Saturday #<a href=\"http:\/\/www.sqlsaturday.com\/146\/schedule.aspx\">146<\/a> in Nashua.<\/p>\n<p>I will be posting an updated version of the presentation with TSQL code before the end of the weekend.   I hope you have time to attend cool event on October 20th, 2012!<\/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><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 #146 in Nashua. I will be posting an updated version of the presentation with TSQL code before the end of the weekend. I hope you have time to attend cool event on October 20th, 2012! 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&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[600],"tags":[589],"class_list":["post-2890","post","type-post","status-publish","format-standard","hentry","category-pres","tag-john-f-miner-iii--pass--presentation--sql-saturday"],"_links":{"self":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/2890","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=2890"}],"version-history":[{"count":0,"href":"https:\/\/craftydba.com\/index.php?rest_route=\/wp\/v2\/posts\/2890\/revisions"}],"wp:attachment":[{"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/craftydba.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}