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 we use oracle pl/sql block in core java? if so how? pls get back to me .....
Why is oracle database so popular?
How to convert characters to times in oracle?
How do we get field details of a table?
What is a nvl function? How can it be used?
What are the attributes of the cursor?
Can we write dml statement in function in oracle?
What are the common oracle dba tasks?
I have a table called 'test' on source and target with same name, structure and data type but in a different column order. How can you setup replication for this table?
What's dateware house and what's clustor with practicle example
How to list all user accounts in oracle?
What is the usage of save points in oracle database?
Can you assign multiple query result rows to a variable?
What happens if the imported table already exists?
How to revoke create session privilege from a user in oracle?