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

I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance

1842


How to use "in out" parameter properly?

607


Explain the use of consistent option in exp command.

544


What do you understand by a database object?

574


How to connect ms access to oracle servers?

540






How can we delete duplicate rows in a table?

554


What is the maximum limit on the number of columns in a table?

541


Explain what are the type of synonyms?

573


How to drop a tablespace?

556


Explain the use of grant option in imp command.

564


How to write a query with a right outer join in oracle?

601


What is a read only transaction in oracle?

587


How to create a table interactively?

546


What are the system predefined user roles?

579


How to declare a local variable?

587