question

Sudheer84 avatar image
Sudheer84 asked

what is indexed view?

what is indexed view?where is indexed view stored?
sql-server-2012
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Kev Riley avatar image
Kev Riley answered
An indexed view is also known as a materialised view, as the clustered index that you create on the view contains all the data in that view, so the view is materialized, or built, unlike non-indexed views , which are simply stored queries. The index is stored in the database in the same way as your other tables and indexes - you can specify the filegroup/file etc. See [MSDN - Create Indexed Views][1] [1]: http://msdn.microsoft.com/en-us/library/ms191432.aspx
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.