May 2019
Intermediate to advanced
484 pages
11h 23m
English
UnmatchedIndexes* happens when the Query Optimizer cannot match an existing filtered index with a query predicate due to parameterization.
The following example creates a filtered index in the AdventureWorks sample database, and then executes a query with an unmatched index warning:
CREATE NONCLUSTERED INDEX FIProductAccessories ON Production.Product ( ProductSubcategoryID, ListPrice) INCLUDE (Name)WHERE ProductSubcategoryID >= 27 AND ProductSubcategoryID ...
Read now
Unlock full access