Completely Qualified Filter Criteria SQL Server's optimizer is a very smart component, but sometimes it needs a little help. It might seem obvious to you that if A = B and B = C, then A = C, but it is not always obvious to the optimizer. Let's say that you want a list of orders and their details for order IDs from 11,000 upward. You could filter just the Orders table or just the Order Details table, which would be sufficient to get you the correct rows. However, if you apply the criteria to both tables, there is far less I/O. Listing 1−43 shows a query for an incompletely qualified filter criteria (run against the Northwind sample database - Study24x7
Social learning Network
12 Apr 2019 05:27 PM study24x7 study24x7

Completely Qualified Filter Criteria SQL Server's optimizer is a very smart component, but sometimes it needs a little help. It might seem obvious to you that if A = B and B = C, then A = C, but it is not always obvious to the optimizer. Let's say that you want a list of orders a...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles