Indexes Flashcards

1
Q

How do you force the system to use a specific index in a query?

A

use WITH (INDEX(IndexName)) :

SELECT col1 FROM Table1 WITH (INDEX(Index1))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly