nerdexam
Microsoft

70-451 · Question #119

You have a table that contains a string column. Most of the rows have the same value. You need to create a multistep stored procedure that meets the following requirements: - Accepts a text input…

The correct answer is D. a RECOMPILE query hint. See the full explanation below for the reasoning.

Question

You have a table that contains a string column. Most of the rows have the same value. You need to create a multistep stored procedure that meets the following requirements:

  • Accepts a text input parameter
  • Provides optimal performance for all input values
  • Has only one step using the input parameter as a predicate

What should you use?

Options

  • Asp_recompile
  • BWITH RECOMPILE
  • Csp_configure
  • Da RECOMPILE query hint

How the community answered

(53 responses)
  • A
    15% (8)
  • B
    4% (2)
  • C
    8% (4)
  • D
    74% (39)

Community Discussion

No community discussion yet for this question.

Full 70-451 Practice