Paul White (@SQL_Kiwi) goes into detail about another reason you'll want to use the NOEXPAND hint, even when using Enterprise Edition.
Continue Reading »Paul White (@SQL_Kiwi) spends some time optimizing update queries in order to explore some SQL Server internals.
Continue Reading »Paul White (@SQL_Kiwi) discusses some less well-known query optimizer features and limitations, and explains poor performance of certain hash joins.
Continue Reading »Paul White (@SQL_Kiwi) discusses some things to know about INSTEAD OF triggers – from execution plans and worktables to a cardinality estimation bug in SQL 2014.
Continue Reading »Back in January 2015, my good friend and fellow SQL Server MVP Rob Farley wrote about a novel solution to the problem of finding the median in SQL Server versions prior to 2012. As well as being an interesting read by itself, it turns out to be a great example to use to demonstrate some
Continue Reading »Paul White (@SQL_Kiwi) takes another look at medians, this time describing how a locking hint can help improve the performance of a pre-2012 solution.
Continue Reading »Paul White (@SQL_Kiwi) follows up a great post on calculating medians with some information on how locking can affect query performance, often undetected.
Continue Reading »
