Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



If there exist a index on the table, and we then make a view on that table (include the indexed co..

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

If there exist a index on the table, and we then make a view on that table (include the indexed co..

Answer / rama krishna

it depends on search critiria for view

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL Server Interview Questions

What is create command?

0 Answers  


What's the purpose of Stored Procedure?

6 Answers   Wipro,


Differentiate between ms sql server reporting services vs crystal reports?

0 Answers  


What is key set driven?

0 Answers  


List all types of constraints in sql server?

0 Answers  


Why main is user defined function?

0 Answers  


You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

0 Answers  


How can sql server instances be hidden? : sql server security

0 Answers  


What do you understand by user-defined function in the sql server?

0 Answers  


How to write a script for upate the data in prod , i have 50000 row are there

2 Answers   TCS,


What is the difference between grant and with grant while giving permissions to the user?

0 Answers  


What are alternate keys?

0 Answers  


Categories