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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what is bit data type and whats the information that can be stored inside a bit column?

957


What is command parameter in ssrs?

161


Define left outer join in sql server joins?

964


Tell me what is the significance of null value and why should we avoid permitting null values?

985


What is primary key index?

979


Explain the various types of concurrency problem?

1195


Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication

1044


What is the order in which the sql query is executed?

942


What's new in sql management studio for sql server? : sql server management studio

1065


How does index makes search faster?

979


What is user-defined scalar function?

968


Why is sql server log file full?

1039


How to get a list of columns using the "sp_help" stored procedure in ms sql server?

1024


Tell me about normalization in DBMS.

995


What are system databases into sql server (2005/2008)?

999