You need to ensure that users are able to modify data b…

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:
http://msdn.microsoft.com/en-us/library/ms187956.aspx



Leave a Reply 0

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