Microsoft
70-433 · Question #466
You administer a Microsoft SQL Server 2008 database that contains a stored procedure named dbo.SalesOrderDetails. The stored procedure has following definition: Parameter values passed to the stored…
The correct answer is C. OPTION (ROBUST PLAN). See the full explanation below for the reasoning.
Question
You administer a Microsoft SQL Server 2008 database that contains a stored procedure named dbo.SalesOrderDetails. The stored procedure has following definition: Parameter values passed to the stored procedure largely vary. You discover that the stored procedure executes quickly for some parameters but slowly for other parameters. You need to ensure that the query plan generated is optimized to provide the most consistent execution times for any set of parameters passed to the stored procedure.
Exhibit
Options
- AOPTION (NOLCCK)
- BOPTION (KEEP PLAN)
- COPTION (ROBUST PLAN)
- DOPTION (RECOMPILE)
How the community answered
(21 responses)- A14% (3)
- B5% (1)
- C76% (16)
- D5% (1)
Community Discussion
No community discussion yet for this question.
