nerdexam
Microsoft

70-457 · Question #49

You develop a Microsoft SQL Server 2012 database. You create a view from the Orders and OrderDetails tables by using the following definition. You need to ensure that users are able to modify data…

The correct answer is C. Create an INSTEAD OF trigger on the view. See the full explanation below for the reasoning.

Question

You develop a Microsoft SQL Server 2012 database. You create a view from the Orders and OrderDetails tables by using the following definition. You need to ensure that users are able to modify data by using the view. What should you do?

Exhibit

70-457 question #49 exhibit

Options

  • ACreate an AFTER trigger on the view.
  • BModify the view to use the WITH VIEW_METADATA clause.
  • CCreate an INSTEAD OF trigger on the view.
  • DModify the view to an indexed view.

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    7% (2)
  • C
    76% (22)
  • D
    14% (4)

Community Discussion

No community discussion yet for this question.

Full 70-457 Practice