Puzzled By T-SQL Blog http://sqlmag.com/blog/10111/feed en SQL Server 2012 T-SQL at a Glance: New and Enhanced Functions http://sqlmag.com/blog/sql-server-2012-t-sql-glance-new-and-enhanced-functions <div class="node-body blog-body">Itzik describes new T-SQL scalar functions in SQL Server 2012 CTP 3.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/sql-server-2012-t-sql-glance-new-and-enhanced-functions" target="_blank">read more</a></p> http://sqlmag.com/blog/sql-server-2012-t-sql-glance-new-and-enhanced-functions#comments SQL Server 2012 T-SQL Database Development Database Development Denali Denali Development Microsoft SQL Server Microsoft SQL Server scalar functions scalar functions SQL Server 2012 SQL Server 2012 T-SQL T-SQL T-SQL Puzzled By T-SQL Blog Sun, 02 Oct 2011 08:03:00 +0000 10621 at http://sqlmag.com Semicolon http://sqlmag.com/blog/semicolon <div class="node-body blog-body">Not terminating T-SQL statements with a semicolon is on a deprecation path.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/semicolon" target="_blank">read more</a></p> http://sqlmag.com/blog/semicolon#comments T-SQL Database Development Database Development Development Microsoft Microsoft semicolon semicolon SQL Server SQL Server T-SQL T-SQL T-SQL statements Puzzled By T-SQL Blog Mon, 26 Sep 2011 03:48:00 +0000 10335 at http://sqlmag.com Improved Support for Window Functions in SQL Server 2012 CTP3 http://sqlmag.com/blog/improved-support-window-functions-sql-server-2012-ctp3 <div class="node-body blog-body">Itzik describes the enhanced support for window functions introduced in Microsoft SQL Server Denali CTP3.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/improved-support-window-functions-sql-server-2012-ctp3" target="_blank">read more</a></p> http://sqlmag.com/blog/improved-support-window-functions-sql-server-2012-ctp3#comments SQL Server 2012 T-SQL Database Development Aggregate Database Development Development SQL Server 2012 SQL Server Denali T-SQL T-SQL Window Functions Puzzled By T-SQL Blog Wed, 31 Aug 2011 20:42:00 +0000 10591 at http://sqlmag.com Solution to TSQL Table Truncation Challenge http://sqlmag.com/blog/solution-tsql-table-truncation-challenge <div class="node-body blog-body">Itzik provides the solution to last week’s table truncation challenge.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/solution-tsql-table-truncation-challenge" target="_blank">read more</a></p> http://sqlmag.com/blog/solution-tsql-table-truncation-challenge#comments T-SQL Database Development Database Development Development Puzzle T-SQL T-SQL Tip Puzzled By T-SQL Blog Wed, 03 Aug 2011 16:47:40 +0000 10367 at http://sqlmag.com TSQL Challenge - Table Truncation - 29 Jul 2011 http://sqlmag.com/blog/tsql-challenge-table-truncation-29-jul-2011 <div class="node-body blog-body">Itzik provides a challenge to perform fast clearing of the data from a table that has an indexed view defined on it.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/tsql-challenge-table-truncation-29-jul-2011" target="_blank">read more</a></p> http://sqlmag.com/blog/tsql-challenge-table-truncation-29-jul-2011#comments T-SQL Database Development Challenge Database Development Development T-SQL T-SQL Puzzled By T-SQL Blog Fri, 29 Jul 2011 19:40:20 +0000 10396 at http://sqlmag.com Solutions to TSQL Challenge – Reoccurring Visits http://sqlmag.com/blog/solutions-tsql-challenge-reoccurring-visits <div class="node-body blog-body">Itzik covers solutions to last week’s puzzle – Reoccurring Visits.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/solutions-tsql-challenge-reoccurring-visits" target="_blank">read more</a></p> http://sqlmag.com/blog/solutions-tsql-challenge-reoccurring-visits#comments T-SQL Database Development SQL Server Database Administration Blog Database Administrator Database Developer Database Development Development SQL Server T-SQL Puzzled By T-SQL Blog Thu, 07 Jul 2011 18:00:00 +0000 10469 at http://sqlmag.com TSQL Challenge – Reoccurring Visits http://sqlmag.com/blog/tsql-challenge-reoccurring-visits <div class="node-body blog-body">Itzik provides a T-SQL challenge involving identifying reoccurring visits to a website.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/tsql-challenge-reoccurring-visits" target="_blank">read more</a></p> http://sqlmag.com/blog/tsql-challenge-reoccurring-visits#comments T-SQL Database Development Challenge Database Development Development Puzzle T-SQL T-SQL Puzzled By T-SQL Blog Wed, 29 Jun 2011 13:44:57 +0000 10194 at http://sqlmag.com Free e-book on DQ and MDM by Sarka and Mauri http://sqlmag.com/blog/free-e-book-dq-and-mdm-sarka-and-mauri <div class="node-body blog-body">Download your free copy of a new e-book about Data Quality and Master Data Management for Microsoft SQL Server 2008 R2 by Dejan Sarka and Davide Mauri.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/free-e-book-dq-and-mdm-sarka-and-mauri" target="_blank">read more</a></p> http://sqlmag.com/blog/free-e-book-dq-and-mdm-sarka-and-mauri#comments T-SQL T-SQL Puzzled By T-SQL Blog Thu, 02 Jun 2011 14:29:00 +0000 10137 at http://sqlmag.com Bug or Feature: REPLACE Puzzle http://sqlmag.com/blog/bug-or-feature-replace-puzzle <div class="node-body blog-body">Itzik discusses certain behavior of the REPLACE function that might seem like a bug to some.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/bug-or-feature-replace-puzzle" target="_blank">read more</a></p> http://sqlmag.com/blog/bug-or-feature-replace-puzzle#comments T-SQL Challenge T-SQL T-SQL Puzzled By T-SQL Blog Tue, 31 May 2011 15:23:00 +0000 10559 at http://sqlmag.com TechEd Atlanta 2011 - Materials for Session - Efficient T-SQL Querying using SQL Server Denali’s Window Functions http://sqlmag.com/blog/teched-atlanta-2011-materials-session-efficient-t-sql-querying-using-sql-server-denali-s-window <div class="node-body blog-body">Itzik provides the materials for his TechEd Atlanta 2011 session; Code: DBI310; Topic: Efficient T-SQL Querying using SQL Server Denali’s Window Functions.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/teched-atlanta-2011-materials-session-efficient-t-sql-querying-using-sql-server-denali-s-window" target="_blank">read more</a></p> http://sqlmag.com/blog/teched-atlanta-2011-materials-session-efficient-t-sql-querying-using-sql-server-denali-s-window#comments T-SQL Denali T-SQL T-SQL Window Functions Puzzled By T-SQL Blog Mon, 23 May 2011 17:12:00 +0000 10243 at http://sqlmag.com What's Your Laptop? http://sqlmag.com/blog/whats-your-laptop <div class="node-body blog-body">Itzik describes his favorite laptop; what’s your laptop?</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/whats-your-laptop" target="_blank">read more</a></p> http://sqlmag.com/blog/whats-your-laptop#comments T-SQL Personal T-SQL Puzzled By T-SQL Blog Fri, 29 Apr 2011 22:31:00 +0000 10543 at http://sqlmag.com Aggregates with an Outer Reference http://sqlmag.com/blog/aggregates-outer-reference <div class="node-body blog-body">Itzik talks about a restriction in T-SQL related to aggregate functions with an outer reference and provides a workaround.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/aggregates-outer-reference" target="_blank">read more</a></p> http://sqlmag.com/blog/aggregates-outer-reference#comments T-SQL Aggregate Aggregate database development database development expressions expressions outer reference outer reference SQL Server SQL Server T-SQL T-SQL T-SQL Puzzled By T-SQL Blog Wed, 27 Apr 2011 11:05:00 +0000 10359 at http://sqlmag.com SQL Server 2012 T-SQL at a Glance - Metadata Discovery http://sqlmag.com/blog/sql-server-2012-t-sql-glance-metadata-discovery <div class="node-body blog-body">Itzik talks about enhancements in SQL Server 2012 that provide new metadata discovery capabilities.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/sql-server-2012-t-sql-glance-metadata-discovery" target="_blank">read more</a></p> http://sqlmag.com/blog/sql-server-2012-t-sql-glance-metadata-discovery#comments SQL Server 2012 T-SQL Denali T-SQL T-SQL Puzzled By T-SQL Blog Wed, 30 Mar 2011 17:13:00 +0000 10465 at http://sqlmag.com Solutions to Packing Date and Time Intervals Puzzle http://sqlmag.com/blog/solutions-packing-date-and-time-intervals-puzzle <div class="node-body blog-body">Itzik covers solutions to the Packing Date and Time Intervals puzzle, including a new solution that runs under 10 seconds with 5,000,000 rows.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/solutions-packing-date-and-time-intervals-puzzle" target="_blank">read more</a></p> http://sqlmag.com/blog/solutions-packing-date-and-time-intervals-puzzle#comments T-SQL Challenge T-SQL T-SQL Puzzled By T-SQL Blog Sat, 19 Mar 2011 06:40:00 +0000 10514 at http://sqlmag.com SQL Server 2012 T-SQL at a Glance – EXECUTE WITH RESULT SETS http://sqlmag.com/blog/sql-server-2012-t-sql-glance-execute-result-sets <div class="node-body blog-body">Itzik describes a new T-SQL option in SQL Server Denali for the EXECUTE statement called RESULT SETS.</div> <div class="og_rss_groups"><ul class="links"><li class="og_links first last"><a href="/blog/puzzled-t-sql-blog">Puzzled By T-SQL Blog</a></li> </ul></div><p><a href="http://sqlmag.com/blog/sql-server-2012-t-sql-glance-execute-result-sets" target="_blank">read more</a></p> http://sqlmag.com/blog/sql-server-2012-t-sql-glance-execute-result-sets#comments SQL Server 2012 T-SQL Denali T-SQL T-SQL Puzzled By T-SQL Blog Tue, 01 Mar 2011 00:28:00 +0000 10282 at http://sqlmag.com