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 the difference between UNION and UNIONALL?
How to get nth highest salary from employee table.
What is the importance of concurrency control?
Explain couple pf features of SQL server
What does truncate do?
What are unicode character string data types in ms sql server?
What does COMMIT command do?
What is the need for group functions in sql?
What are window functions in sql server?
Can we drop user if user mapped to any logins
Give main differences between "Truncate" and "Delete".
How do you persist objects, permissions in tempdb