What are the Limitations of Indexed Views in SQL Server ?

Some of the limitations with Indexed views are...

  • UNION Operation is now allowed in Indexed View.
  • We cannot create an Index on a nested View situation means we cannot create an index on a view that is built from another view.
  • SELF JOIN Not Allowed in Indexed View.
  • Outer Join Not Allowed in Indexed Views.
  • Cross Database Queries Not Allowed in Indexed View.
  • The view must be created WITH SCHEMABINDING option
  • ANSI_NULLS needs to be set for all existing tables that will be referenced in the view.
  • Indexed Views cannot contain text, ntext, image, filestream, or XML columns.


You May Interest

MS SQL Getting List of All Column Names of a Table

What is a View in SQL Server ?

Showing Server Active Server Name in MS SQL

What are Indexed Views inside SQL Server ?

What is the Difference Between a Local and a Global Temporary Tab ...