MS SQL Server Views Question: Download SQL Server Views PDF

Do you know what are the restrictions that views have to follow?

Tweet Share WhatsApp

Answer:

Since a view is a virtual table – columns of the view cannot be renamed. To change anything in the view, the view must be dropped and create again.
The select statement on the view cannot contain ORDER BY or INTO TEMP
When a table or view is dropped, any views in the same database are also dropped.
It is not possible to create an index on a view
It is not possible to use DELETE to update a view that is defined as a join.

Download SQL Server Views PDF Read All 7 SQL Server Views Questions
Previous QuestionNext Question
Can you explain What is Indexed view? How to create it?Explain Partitioned view?