Monday, December 18, 2017

SQL Server: Avoiding a Sort with Merge Join Concatenation

There are cases when SQL Server doesn’t normally realize it can rely on index order, but you can make the platform realize it with some extra manipulation and creativity. This article is the first in a two-part series in which I describe such tasks and solutions. This month I’ll talk about avoiding a sort with the Merge Join (Concatenation) operator. Next month I’ll describe avoiding a sort when needing the data in descending order.
by Itzik Ben-Gan via IT Pro - Microsoft Windows Information, Solutions, Tools

No comments:

Post a Comment