MS SQL Server Views Question:

Can you explain What is Indexed view? How to create it?

Tweet Share WhatsApp

Answer:

In an indexed view, the data is already computed and stored. Data can be accessed by a unique index. This index is a clustered index. In order to create an index the syntax is

CREATE [UNIQUE], [CLUSTERED | NONCLUSTERED] INDEX index_name
ON {view}
[WITH <index_option>]
[ON filegrp]

Download SQL Server Views PDF Read All 7 SQL Server Views Questions
Previous QuestionNext Question
Do you know what are the restrictions that views have to follow?Explain What are partitioned views and distributed partitioned views?