Review
The following questions are intended to reinforce key information presented in this chapter. If you are unable to answer a question, review the appropriate lesson and then try the question again. You can find the answers to these questions in the Appendix, 'Questions and Answers.'
What is a view?
What functions can a view be used to perform?
For what scenarios can views be used?
What are at least five restrictions that you must adhere to when creating views?
What two tools does SQL Server provide to create a view?
Where are the result sets stored for standard views and indexed views?
If a view is going to be indexed, what type of index must be the first index created on that view?
Which Transact-SQL statement or statements should you use to change the definition of a view or to delete that view from the database?
What Transact-SQL statement should you use if you want to view all of the data in the AuthorNames view of the Northwind database?
Which Transact-SQL statement or statements should you use to insert, modify, and delete data through a view?
What conditions must a view meet before you can modify data through that view?
When is a view considered to be an updateable partitioned view?