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 |
How to name query output columns in ms sql server?
Explain what are the basic functions for master, msdb, model, tempdb databases?
How do I find query history in sql server?
What is stored procedure in SQL..??
Do you know what are pages and extents? : SQL Server Architecture
What the difference between UNION and UNIONALL?
Where do we generally create INDEX?
1 Answers Ernst Young, Thomson Reuters,
you notice that the transaction log on one of your databases is over 4gb the size of the data file is 2mb what could cause this situation, and how can you fix it? : Sql server administration
Explain Capacity planning to create a database? and how to monitor it?
What is the difference between a check constraint and a rule?
Tell me extended events in sql server 2008?
Explain user defined views?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)