Indexing basics
Understanding indexes in SQL Server can help you build much more efficient database solutions. Often, performance problems can be adressed with indexes, so knowing how indexes work and how to set them...
View ArticleSARGable expressions and performance
Understanding the concept of SARGable expressions can dramatically help you speed up query performance. Here’s how: What is SARGable? SARG is an acronym of sorts for “search argument”. In plain...
View ArticleDifferent query plans for “OR” type queries
The SQL Server query optimizer can find interesting ways to tackle seemingly simple operations that can be hard to optimize. Consider the following query on a table with two indexes, one on (a), the...
View ArticleWatch out for Merge Interval with date range Index Seeks
In my last post, I found that DATEDIFF, DATEADD and the other date functions in SQL Server are not as datatype agnostic as the documentation would have you believe. Those functions would perform an...
View Article
More Pages to Explore .....