Which of the following statements is not true about views?A. You can create an index on viewsB. Views do not have permanent dataC. Views can be based on one or more tablesD. Views can be dropped without dropping tables

This question is related to Oracle Interview

Showing Answers 1 - 13 of 13 Answers

Debjani

  • Aug 25th, 2005
 

A. You can create an index on views

jyomuk

  • Mar 8th, 2006
 

ANS: D. Views can be dropped without dropping tables

  Was this answer useful?  Yes

Sujana

  • May 26th, 2006
 

A. You can create an index on views

is the right answer since views are not permanent tables ,indexes cant be created on them

  Was this answer useful?  Yes

raksha

  • Jul 9th, 2006
 

Hey Guys,

Please make sure the answer is correct before posting it.

We can create an index on views. In Oracle these are called materialized views and these have been lately added in SQL Server 2000.

Raksha.

  Was this answer useful?  Yes

Madhuri

  • Aug 20th, 2006
 

The answer is correct.

Views are different from Materialized views.

A view is  a stored query or a virtual table. Unlike a table, a view is not allocated any storage space, nor does a view actually contain data.
A view requires no storage other than storage for the definition of the view (the stored query) in the data dictionary.

Materialized views are schema objects that can be used to summarize, compute, replicate, and distribute data. A materialized view creates a real table, requires storage space and this 'table' may be indexed, analyzed, and so on.

  Was this answer useful?  Yes

radha

  • Sep 10th, 2006
 

please read the question again,answers seems right if its true condition but the question is using word "not true'"

Thanx

  Was this answer useful?  Yes

siva ram

  • Sep 13th, 2006
 

 hi,this is siva ram(OCP).the correct answer is b,and rest of them are wrong(accordind to the question(which is not true))........................bye............than q

  Was this answer useful?  Yes

mates04

  • May 5th, 2008
 

All the answers mentioned above are true. This Question was posted long back at that point of time indexing was not possible in view. Now in SQL Server 2000 and Oracle latest versions its posible..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions