Can we create index on views?

Answers were Sorted based on User's Feedback



Can we create index on views?..

Answer / ramon

With schemabinding
the view have to be attache with schemabinding on it. Yes it is possible

Is This Answer Correct ?    0 Yes 0 No

Can we create index on views?..

Answer / mahesh kumar

we can never create index on view, becasue view doesn't
have physical memory. If we try to create index on view in
oracle, produce error: a view is not appropriate here

Is This Answer Correct ?    1 Yes 1 No

Can we create index on views?..

Answer / murali krishnan

yes we can create index on views

Is This Answer Correct ?    25 Yes 26 No

Can we create index on views?..

Answer / hafiz

Yes we can create index on a view becuase the view may be
creates on subquery also and then the retrival of records
may be complex and therefore there must be an index on that
perticular column.

Is This Answer Correct ?    16 Yes 17 No

Can we create index on views?..

Answer / siva

no we cann't create an index on a view.why because view is
a virtual table.when u select the view it will get the data
from base(database)table.
view is a stored query.so we cann't

Is This Answer Correct ?    2 Yes 3 No

Can we create index on views?..

Answer / tanuj

NO in ORACLE, but YES in SQL. :-)

Is This Answer Correct ?    2 Yes 3 No

Can we create index on views?..

Answer / raju

yes we can... its easy to create.....

Is This Answer Correct ?    6 Yes 10 No

Can we create index on views?..

Answer / dibya tara shakya

No we cannot create index in views. As view are virtual
table based on multiple or single static tables.

View are create and execute only if there is select
privilege in base table to create view .

Triggers are also create in views.

But we can treat a view a table which make ease to gather
the data from different tables. we can insert data from
views only if the view are created from single table.

Is This Answer Correct ?    23 Yes 34 No

Can we create index on views?..

Answer / mkjmkumar

And we can create Index on View.

Is This Answer Correct ?    49 Yes 84 No

Post New Answer

More Oracle General Interview Questions

when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

0 Answers  


1) What is ONE_SIZE_FITS_ALL approach? 2) Explain the Common & Variable Header of DATA FILE? 3) What are the Drawbacks to using OMF DB? and the Advantages? 4) List out the Advantages of Undo T.spaces over the Undo SEGMENT? 5) Difference between the Temporary tablespace with TEMPFILE and the Tablespace with TEMPORARY Keyword? 6) What are the situation extents are freeing for reuse.

0 Answers   TCS,


How to create a stored procedure in oracle?

0 Answers  


> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?

0 Answers  


how to get the index id?

1 Answers   Cognizant, TCS,






If a table column has is UNIQUE and has NOT NULL, is it equivalent to a PRIMARY KEY column?

8 Answers   IBM,


What is meant by raw datatype?

0 Answers  


What view(s) do you use to associate a users SQLPLUS session with his o/s process?

0 Answers  


How to invoke the data pump import utility?

0 Answers  


Which Oracle App Is Most Popular One ?

3 Answers  


How many categories of data types in oracle?

0 Answers  


What is rich query?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)