What should you do?

You are creating a view to join the CusMikeers and Orders tables in a SQL Server 2005 database. You need to ensure that the view cannot be affected by modifications to underlying table schemas. You want to accomplish this goal by using the least possible amount of overhead. What should you do?

You are creating a view to join the CusMikeers and Orders tables in a SQL Server 2005 database. You need to ensure that the view cannot be affected by modifications to underlying table schemas. You want to accomplish this goal by using the least possible amount of overhead. What should you do?

A.
Create CHECK constraints on the tables.

B.
Create a DDL trigger to roll back any changes to the tables if the changes affect the columns in the view.

C.
Create the view, specifying the WITH SCHEMABINDING option.

D.
Create the view, specifying the WITH CHECK option.



Leave a Reply 0

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