What are the Various Limitations of the Views in SQL Server ?

1 - ORDER BY clause does not work in View.

2 - Regular queries or Stored Procedures give us flexibility when we need another column; we can add a column to regular queries right away. If we want to do the same with Views, then we will have to modify the first.

3 - Index created on view not used often.

4 - Once the view is created and if the basic table has any column added or removed, it is not usually reflected in the view till it is refreshed.

5 - One of the most prominent limitations of the View is that it does not support COUNT (*); however, it can support COUNT_BIG (*).



You May Interest

Getting Rows in a Table in Random Order in MS SQL

What is the Difference Between VARCHAR and VARCHAR(MAX) Datatypes ...

Listing Metadata of MS SQL Server Internal Tables

What is Partial Cache Mode in SSIS ?

What is a View in SQL Server ?