T-SQL http://sqlmag.com/taxonomy/term/9187/more en Optimization Tips for Multiple Range Predicates, Part 3 http://sqlmag.com/t-sql/optimization-tips-multiple-range-predicates-part-3 <div class="field-deck"> Vector-based range predicates </div> <div class="node-body article-body">Itzik dives even deeper into the problem of using multiple predicates in your query filters.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/optimization-tips-multiple-range-predicates-part-3" target="_blank">read more</a></p> http://sqlmag.com/t-sql/optimization-tips-multiple-range-predicates-part-3#comments T-SQL multiple range predicates Performance query performance SQL Server T-SQL Mon, 11 Aug 2014 09:00:00 +0000 19491 at http://sqlmag.com Cheat Sheet for Calculating Important Dates http://sqlmag.com/t-sql/cheat-sheet-calculating-important-dates <div class="node-body article-body">Looking for a single source for date calculations for starting and ending periods for days, months, and years? We have you covered!</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/cheat-sheet-calculating-important-dates" target="_blank">read more</a></p> http://sqlmag.com/t-sql/cheat-sheet-calculating-important-dates#comments T-SQL dateadd datediff Dates end of month end of year SQL Server start of month start of year t/sql Transact SQL Mon, 11 Aug 2014 04:00:00 +0000 19501 at http://sqlmag.com Identifying a Subsequence in a Sequence, Part 3 http://sqlmag.com/t-sql/identifying-subsequence-in-sequence-part-3 <div class="field-deck"> Two even better solutions for solving this challenge </div> <div class="node-body article-body">Itzik Ben-Gan presents two reader-submitted solutions for identifying a subsequence within a sequence, both of which far surpass his original solutions.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/identifying-subsequence-in-sequence-part-3" target="_blank">read more</a></p> http://sqlmag.com/t-sql/identifying-subsequence-in-sequence-part-3#comments T-SQL SQL Server iterative solution Microsoft relational solution sequence set-based solution SQL Server subsequence T-SQL Mon, 14 Jul 2014 10:00:00 +0000 18801 at http://sqlmag.com Configuring AlwaysOn Read-Only Replicas http://sqlmag.com/database-administration/configuring-alwayson-read-only-replicas <div class="field-deck"> How to configure read-only secondary replicas </div> <div class="node-body article-body">Learn how to configure your SQL Server AlwaysOn replica to allow read-only access.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/database-administration/configuring-alwayson-read-only-replicas" target="_blank">read more</a></p> http://sqlmag.com/database-administration/configuring-alwayson-read-only-replicas#comments SQL Server 2012 T-SQL Database Administration AlwaysOn Availability Groups secondary replica Sat, 12 Jul 2014 00:42:00 +0000 18841 at http://sqlmag.com Using the all_columns System View in SQL Server http://sqlmag.com/database-administration/using-allcolumns-system-view-sql-server <div class="node-body article-body">A quick and easy way to query the database schema for a particular column name is through the use of a seldom-recognized system view called all_columns.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/database-administration/using-allcolumns-system-view-sql-server" target="_blank">read more</a></p> http://sqlmag.com/database-administration/using-allcolumns-system-view-sql-server#comments T-SQL Database Administration all_columns Database Administrator Database Developer system views Tip Transact SQL Wed, 09 Jul 2014 10:01:00 +0000 18681 at http://sqlmag.com Optimization Tips for Multiple Range Predicates, Part 2 http://sqlmag.com/t-sql/optimization-tips-multiple-range-predicates-part-2 <div class="field-deck"> Three practical examples, as well as tips to improve performance </div> <div class="node-body article-body">Itzik covers three practical examples affected by the multiple range predicate problem, as well as optimization tips to improve performance.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/optimization-tips-multiple-range-predicates-part-2" target="_blank">read more</a></p> http://sqlmag.com/t-sql/optimization-tips-multiple-range-predicates-part-2#comments T-SQL Database Development Database Performance Tuning SQL Server multiple range predicates Performance query performance SQL Server T-SQL Tue, 10 Jun 2014 04:00:00 +0000 18321 at http://sqlmag.com Top 10 Highly Recommended SQL Server Books http://sqlmag.com/database-administration/top-10-highly-recommended-sql-server-books <div class="node-body gallery-body">Here are 10 technical SQL Server books you may want to consider for your bookcase. Whether you're responsible for servers running SQL Server 2014, 2012, or 2008, there's a book for you.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/database-administration/top-10-highly-recommended-sql-server-books" target="_blank">read more</a></p> http://sqlmag.com/database-administration/top-10-highly-recommended-sql-server-books#comments SQL Server 2014 SQL Server 2012 T-SQL SQL Server 2008 SQL Server Reporting Services Database Administration SQL Server books Fri, 30 May 2014 04:00:00 +0000 18121 at http://sqlmag.com Optimization Tips for Multiple Range Predicates, Part 1 http://sqlmag.com/database-development/optimization-tips-multiple-range-predicates-part-1 <div class="field-deck"> Improve query performance </div> <div class="node-body article-body">Multiple range predicates can be the source of query performance problems. Itzik presents some tips for optimizing your solutions.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/database-development/optimization-tips-multiple-range-predicates-part-1" target="_blank">read more</a></p> http://sqlmag.com/database-development/optimization-tips-multiple-range-predicates-part-1#comments T-SQL Database Development Database Performance Tuning SQL Server multiple range predicates Performance query performance SQL Server T-SQL Thu, 15 May 2014 11:00:00 +0000 17921 at http://sqlmag.com T-SQL Interval Graphs Challenge, Part 2 http://sqlmag.com/t-sql/t-sql-interval-graphs-challenge-part-2 <div class="field-deck"> Complete solution to the drug prescription interval packing problem </div> <div class="node-body article-body">In Part 2 of this article, Itzik Ben-Gan uses T-SQL to provide the complete solution to an interval packing problem related to drug prescriptions modeled as interval graphs.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/t-sql-interval-graphs-challenge-part-2" target="_blank">read more</a></p> http://sqlmag.com/t-sql/t-sql-interval-graphs-challenge-part-2#comments T-SQL SQL Server Interval Graphs interval packing T-SQL Fri, 18 Apr 2014 21:29:00 +0000 17301 at http://sqlmag.com T-SQL Interval Graphs Challenge, Part 1 http://sqlmag.com/t-sql/t-sql-interval-graphs-challenge-part-1 <div class="field-deck"> Cursor-based and set-based solutions to the interval packing problem </div> <div class="node-body article-body">Itzik Ben-Gan uses T-SQL to find an efficient solution to an interval packing problem related to drug prescriptions modeled as interval graphs.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> influencer </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/t-sql-interval-graphs-challenge-part-1" target="_blank">read more</a></p> http://sqlmag.com/t-sql/t-sql-interval-graphs-challenge-part-1#comments T-SQL SQL Server cursor-based solution Interval Graphs interval packing set-based solution T-SQL Fri, 21 Mar 2014 04:00:00 +0000 16471 at http://sqlmag.com