T-SQL http://sqlmag.com/taxonomy/term/9187/more en Quick T-SQL Tip: Parsing Drive and File Information in SQL Server http://sqlmag.com/database-administration/quick-t-sql-tip-parsing-drive-and-file-information-sql-server <div class="node-body article-body">Parsing full physical file names for information is one of those tasks a database administrator (DBA) finds they do on a semi-frequent basis; from looking up SQL Agent Job output paths or reviewing database file metadata. </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/database-administration/quick-t-sql-tip-parsing-drive-and-file-information-sql-server" target="_blank">read more</a></p> http://sqlmag.com/database-administration/quick-t-sql-tip-parsing-drive-and-file-information-sql-server#comments T-SQL Database Administration file parse path String Transact SQL Tue, 16 Sep 2014 16:12:00 +0000 20341 at http://sqlmag.com T-SQL Challenges: Replenishing and Depleting Quantities http://sqlmag.com/t-sql/t-sql-challenges-replenishing-and-depleting-quantities <div class="field-deck"> Discover an efficient solution for replenishing quantities, and find an efficient solution for depleting quantities </div> <div class="node-body article-body">Itzik discusses two T-SQL challenges: replenishing quantities and depleting quantities. He presents an efficient solution for replenishing quantities and challenges you to find an efficient solution for depleting quantities.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/t-sql-challenges-replenishing-and-depleting-quantities" target="_blank">read more</a></p> http://sqlmag.com/t-sql/t-sql-challenges-replenishing-and-depleting-quantities#comments T-SQL SQL Server Challenge deplete quantity Performance replenish quantity SQL Server T-SQL Wed, 10 Sep 2014 02:00:00 +0000 20281 at http://sqlmag.com T-SQL Unscrambler Automatically Documents Legacy Code for SQL Server http://sqlmag.com/t-sql/t-sql-unscrambler-automatically-documents-legacy-code-sql-server <div class="field-deck"> GenesisOne's T-SQL Source Code Unscrambler Version 2 is now available </div> <div class="node-body article-body">GenesisOne has released version 2 of its T-SQL Source Source Code Unscrambler—the industry's first tool to read SQL code and automatically create professional, data-flow documentation without altering the code in any way.</div> <div class="field-content-focus"> <span>Content Classification:&nbsp;</span> Curated </div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/t-sql-unscrambler-automatically-documents-legacy-code-sql-server" target="_blank">read more</a></p> http://sqlmag.com/t-sql/t-sql-unscrambler-automatically-documents-legacy-code-sql-server#comments T-SQL Database Administration GenesisOne Red Gate Software SQL Server Management Studio SQL tool SSMS T-SQL code Mon, 25 Aug 2014 19:09:00 +0000 19891 at http://sqlmag.com 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