Microsoft
70-451 · Question #123
You are a database developer. You plan to design a database solution by using SQL Server 2008. A frequently used query takes very long to execute. You discover that the query frequently uses full…
The correct answer is D. Use the FORCESEEK table hint. See the full explanation below for the reasoning.
Question
You are a database developer. You plan to design a database solution by using SQL Server 2008. A frequently used query takes very long to execute. You discover that the query frequently uses full- table scans instead of indexes. This causes other queries that modify the table to be blocked. The indexing strategy on the underlying tables that the query uses can change. You need to design a solution that performs the following tasks:
- Removes full-table scans
- Allows the query optimizer to select the appropriate index.
What should you do?
Options
- AUse the INDEX table hint.
- BUse the INDEX(0) table hint.
- CUse the NOEXPAND table hint.
- DUse the FORCESEEK table hint.
How the community answered
(28 responses)- A4% (1)
- B11% (3)
- C4% (1)
- D82% (23)
Community Discussion
No community discussion yet for this question.