Which hint should you use?

You have the following query:
SELECT EmployeeID, ManagerID, LoginID FROM dbo.Employees WHERE ManagerID = 1500 ORDER BY ManagerID;

You have been tasked to force the query to use the execution plan in the exhibit.
You need to use an appropriate hint to perform the task.
Which hint should you use?

Exhibit:

You have the following query:
SELECT EmployeeID, ManagerID, LoginID FROM dbo.Employees WHERE ManagerID = 1500 ORDER BY ManagerID;

You have been tasked to force the query to use the execution plan in the exhibit.
You need to use an appropriate hint to perform the task.
Which hint should you use?

A.
INDEX(0)

B.
INDEX(1)

C.
INDEX(PK_Employees)

D.
INDEX(IX_Employees)



Leave a Reply 0

Your email address will not be published. Required fields are marked *