PrepAway - Latest Free Exam Questions & Answers

You need to ensure that you can insert rows into the un…

You have an application that uses a view to access data from multiple tables.
You need to ensure that you can insert rows into the underlying tables by using the view.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Create an INSTEAD OF trigger on the view.

B.
Define the view by using the SCHEMABINDING option.

C.
Define the view by using the CHECK option.

D.
Materialize the view.

Explanation:
http://msdn.microsoft.com/en-us/library/ms180800.aspx
http://msdn.microsoft.com/en-us/library/ms187956.aspx

2 Comments on “You need to ensure that you can insert rows into the un…

  1. gdfgdfgthjgku says:

    I think correct is A, because
    “IMPORTANT!! You cannot delete a row if the view references more than one base table. You can only update columns that belong to a single base table.”
    “IMPORTANT! You cannot insert a row if the view references more than one base table.”




    4



    0

Leave a Reply