Can we create index on views?

Answer Posted / madhoosapre

An index cannot be defined on a view. Because view is
virtual table, which consists of a subset of columns from
one more tables.

The Restrictions imposed on views are as follows:
1. A view can be created only in the current database.
2. A view can be created only if there is a SELECT
permission on its base table
3. A Trigger or an Index cannot be defined on a view.
4. A view cannot be derive its data from temporary tables.
5. The CREATE VIEW statement cannot be combined with other
SQL statements in a single batch.

Is This Answer Correct ?    144 Yes 67 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is raw datatype?

829


How to start your 10g xe server?

776


What is a schema in oracle?

758


How to experiment a data lock in oracle?

783


State any two functions of oracle?

798


How to write a query with an inner join in oracle?

774


What is the dynamic sql in oracle?

807


How to retrieve the count of updated rows?

772


How to declare a local variable?

806


Is oracle a relational database?

699


What is oracle rownum?

691


What is set operator oracle?

715


What is a sub query and what are the different types of subqueries?

860


An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?

1810


Explain an exception?

726