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
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)- A3% (1)
- B7% (2)
- C76% (22)
- D14% (4)
Community Discussion
No community discussion yet for this question.
