MS SQL Server Views Question:
Download Questions PDF

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

SQL Server Views Interview Question
SQL Server Views Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know what are the restrictions that views have to follow?Explain What are partitioned views and distributed partitioned views?