Professional Documents
Culture Documents
Us/library/ms187956.aspx: Quiz/Assignment
Us/library/ms187956.aspx: Quiz/Assignment
Quiz/Assignment:
Research about Indexed Views? Try creating an indexed view on Salesterritory Table (Select US
Specific rows only)
Explore the WITH CHECK and WITH ENCRYPTION option (Refer: https://msdn.microsoft.com/en-
us/library/ms187956.aspx )
Create a new view (Choose any simple table you want). Now execute the same script again. Does it
throw and error saying it already exists? How do you overcome this without using ALTER view.
(Hint: look for code to check if the view already exists)