You need to ensure that users are able to modify data by using the view

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?

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?

A.
Create an AFTER trigger on the view.

B.
Modify the view to use the WITH VIEW_METADATA clause.

C.
Create an INSTEAD OF trigger on the view.

D.
Modify the view to an indexed view.

Explanation:
Verified answer as correct.
Reference: http://msdn.microsoft.com/en-us/library/ms187956.aspx



Leave a Reply 2

Your email address will not be published. Required fields are marked *