T-SQL http://sqlmag.com/taxonomy/term/9187/more en Use the TOP Filter's WITH TIES Option http://sqlmag.com/t-sql/use-top-filter-with-ties-option <div class="field-deck"> Learn what this option does </div> <div class="node-body article-body">Take a little quiz to see if you know what the TOP filter's WITH TIES option does.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/use-top-filter-with-ties-option" target="_blank">read more</a></p> http://sqlmag.com/t-sql/use-top-filter-with-ties-option#comments T-SQL SQL Server TOP filter WITH TIES option Thu, 18 Dec 2014 14:00:00 +0000 21941 at http://sqlmag.com Avoid Unnecessary Lookups when Using ROW_NUMBER for Paging http://sqlmag.com/t-sql/avoid-unnecessary-lookups-when-using-rownumber-paging <div class="field-deck"> Improve your solution's performance </div> <div class="node-body article-body">Eliminate unnecessary lookups to improve the performance of the typical solution for paging using row numbers.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/avoid-unnecessary-lookups-when-using-rownumber-paging" target="_blank">read more</a></p> http://sqlmag.com/t-sql/avoid-unnecessary-lookups-when-using-rownumber-paging#comments T-SQL SQL Server lookups Paging Performance ROW_NUMBER Thu, 11 Dec 2014 14:00:00 +0000 21931 at http://sqlmag.com Compute a Trimmed Mean http://sqlmag.com/t-sql/compute-trimmed-mean <div class="field-deck"> Learn two methods: the NTILE function and the PERCENT_RANK or CUME_DIST function </div> <div class="node-body article-body">Use the trimmed mean method to exclude outliers from the computation of an average aggregate.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/compute-trimmed-mean" target="_blank">read more</a></p> http://sqlmag.com/t-sql/compute-trimmed-mean#comments T-SQL SQL Server CUME_DIST NTILE PERCENT_RANK trimmed mean Thu, 04 Dec 2014 14:00:00 +0000 21921 at http://sqlmag.com Learn How to Deduplicate Data http://sqlmag.com/t-sql/learn-how-deduplicate-data <div class="field-deck"> Remove duplicate rows from a table </div> <div class="node-body article-body">Discover a simple method for deduplicating data.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/learn-how-deduplicate-data" target="_blank">read more</a></p> http://sqlmag.com/t-sql/learn-how-deduplicate-data#comments T-SQL SQL Server data deduplicate duplicate T-SQL Mon, 24 Nov 2014 05:00:00 +0000 21691 at http://sqlmag.com Get Accurate Estimates with Filtered Indexes http://sqlmag.com/t-sql/get-accurate-estimates-filtered-indexes <div class="field-deck"> Improve cardinality estimates </div> <div class="node-body article-body">Use filtered indexes and statistics for improved cardinality estimates.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/get-accurate-estimates-filtered-indexes" target="_blank">read more</a></p> http://sqlmag.com/t-sql/get-accurate-estimates-filtered-indexes#comments T-SQL SQL Server cardinality estimate filtered index Index T-SQL Tue, 18 Nov 2014 11:00:00 +0000 21681 at http://sqlmag.com Find a Minimum Missing Value http://sqlmag.com/t-sql/find-minimum-missing-value <div class="field-deck"> Determine the most efficient method </div> <div class="node-body article-body">Discover the most efficient method to identify the minimum missing value after the minimum existing value.</div> <div class="og_rss_groups"></div><p><a href="http://sqlmag.com/t-sql/find-minimum-missing-value" target="_blank">read more</a></p> http://sqlmag.com/t-sql/find-minimum-missing-value#comments T-SQL SQL Server minimum sequence T-SQL value Tue, 11 Nov 2014 05:00:00 +0000 21671 at http://sqlmag.com 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