If there exist a index on the table, and we then make a
view on that table (include the indexed column from base
table) than why do we require indexing on view?Doesnt it
create an overhead?
Answers were Sorted based on User's Feedback
Answer / sql2000
Lets start on what a view is, view is a name given to a
select statement. The select statement is executed when the
view name is called.
When you create index on the view the select statement is
materialized into a table and we have the contents of the
select statement as a table. This makes it faster at times
to run select statements on rather than the actual tables.
Hence it makes sense to create indexes on views.
Let me know if anyone has a better point of view on
|Is This Answer Correct ?||0 Yes||0 No|
Answer / rama krishna
it depends on search critiria for view
|Is This Answer Correct ?||0 Yes||3 No|
Is candidate a key?
Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?
What action plan is preferred if sql server is not responding?
What are the acid properties?
What is 3nf normalization form?
What is query processing?
you have developed an application which uses many stored procedures and triggers to update various tables users ocassionally get locking problems which tool is best suited to help you diagnose the problem? : Sql server administration
Define left outer join in sql server joins?
What do you understand by the analysis services in sql server?
Is it safe to delete log files?
What are the character string functions supported by sql server 2005?