nerdexam
Microsoft

70-433 · Question #192

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 (KEEP 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. Which query hint should you use?

Exhibit

70-433 question #192 exhibit

Options

  • AOPTION (FAST 25)
  • BOPTION (ROBUST PLAN)
  • COPTION (KEEP PLAN)
  • DOPTION (OPTIMIZE FOR UNKNOWN)

How the community answered

(55 responses)
  • A
    4% (2)
  • B
    7% (4)
  • C
    73% (40)
  • D
    16% (9)

Community Discussion

No community discussion yet for this question.

Full 70-433 Practice