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...

About Indexed Views? with example?
plz reply...

Answer Posted / sruthi

Index created on view is called as indexed view or
materialised view.
To create index on a view we should create a view
with "schemabinding"
eg:
create view v1 with schemabinding as
select empno,ename from dbo.emp
---
while creating view with schema binding refer to table by
default owner
---
now create index on that view
--
create clustered index i1 on v1(empno)
--
now this is called as indexed view

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many replicas are maintained for each sql azure db?

124


How to find the login name linked to a given user name?

1011


What is normalization process?

1182


What is the maximum size of column in sql server?

893


List the different normalization forms?

985


What is a trigger and types of a trigger?

983


What is a field name?

972


Do you know what guidelines should be followed to help minimize deadlocks?

971


How to enforce security in sql server? : sql server security

1111


What happens to a trigger with multiple affected rows?

947


How do I manually uninstall an instance of sql server 2016?

1039


what is datawarehouse?

1120


What is the default server name for sql server?

1176


How to generate create table script on an existing table in ms sql server?

1146


Explain SSRS Architecture?

196