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
What are the oracle built-in data types?
What do you mean by a deadlock?
What is the minimum client footprint required to connect c# to an oracle database?
How do you increase the OS limitation for open files (LINUX and/or Solaris)?
What is the string concatenation operator in oracle?
What happens if variable names collide with table/column names?
How would you best determine why your MVIEW couldnt FAST REFRESH?
Please explain compound trigger in oracle?
State the difference between a primary key and foreign key?
what is port in oracle? how is it related to database application.
How to use existing values in update statements using oracle?
What are joins, explain all types of joins?
In oracle there is column command, how will you explain that?
6. Display the client name and order date for all orders using the traditional method.
How to work with data objects interactively?