Optimizer Hints
You can specify three types of hints in a query to override the decisions made by the Query Optimizer:
Table hints
Join hints
Query hints
The following sections examine and describe each type of table hint.
Forcing Index Selection with Table Hints
In addition to locking hints that can be specified for each table in a query, SQL Server 2012 allows you to provide table-level hints that enable you to specify the index SQL Server should ...
Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.