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
this. :)
Is This Answer Correct ? | 0 Yes | 0 No |
hi, how to link a text file and a .rpt file in my tables of sql server and to retrieve those records for further use. reply me as soon as possible.
Explain about nested stored procedure?
What is query cost in sql server?
What is the joins and how many types of Joins in sql server a diffrentiate ever one give a suaitable query
Is BCNF better than 2NF & 3NF? Why?
0 Answers Akamai Technologies,
What are the types of resultset?
please can anyone answer this query Table 1 has 2 columns: EmployeeId,Age Table 2 has 2 columns: EmployeeId, Region Write SQL to Find the region who has the oldest person
what is victor class
How do I edit a procedure in sql server?
What are the different index configurations a table can have?
What are the diifferences between the ms sql server vs mysql?
Why Master database is required?