Answer Posted / md sajjad
No We cannot create index on view:
e.g
1* create view emp_view as select * from emp where
deptno=20
SQL> /
View created.
1* create index indx_emp on emp_view(empno)
SQL> /
create index indx_emp on emp_view(empno)
*
ERROR at line 1:
ORA-01702: a view is not appropriate here
| Is This Answer Correct ? | 39 Yes | 16 No |
Post New Answer View All Answers
Can group functions be used in the order by clause in oracle?
Explain how are indexes update?
How will you write a query to get a 5th rank student from a table student_report?
How to pass a cursor variable to a procedure?
What are the predefined tablespaces in a database?
What is Redo Log Buffer in Oracle?
How to estimate disk space needed for an export job?
What is the difference between primary key and unique key and foreign key in oracle?
What is where clause in oracle?
How to create a new table by selecting rows from another table?
What are joins, explain all types of joins?
Explain an integrity constrains?
How to display employee records who gets more salary than the average salary in the department?
How to use "in out" parameter properly?
What are the uses of Database Trigger ?