About Indexed Views? with example?
plz reply...
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / manoj joshi
Creating index on views is not possible in Sybase.
Is This Answer Correct ? | 6 Yes | 0 No |
What are page splits?
What is multi-statement table-value user-defined function?
what are the different ways of moving data/databases between servers and databases in sql server? : Sql server database administration
What is a database table?
Does a sql server 2005 select statement require a from?
Explain the third normal form(3nf)?
How do you rename a table in sql server?
Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.
what is Buffer cash and Log Cache? Can you Explain it?
What are the methods used to protect against sql injection attack?
What is #temp and @table variable in SQL server?
What is acid db?