1z0-071 Exam QuestionsBrowse all questions from this exam

1z0-071 Exam - Question 43


Which three statements are true about views in an Oracle Database? (Choose three.)

Show Answer
Correct Answer: BEF

Views in an Oracle Database have no segment as they do not occupy physical storage; they are simply stored queries. A view can be created that refers to a non-existent table using the FORCE option in the CREATE VIEW statement; this means the view will be created but will throw an error when queried. Rows inserted into a table using a view are retained in the table even if the view is subsequently dropped, as views are just a way to look at the data and not a data storage mechanism themselves.

Discussion

3 comments
Sign in to comment
KizTine
Oct 9, 2023

I don't understand the answer E. How can views refers to non-existent table ?

lucemqy
Nov 13, 2023

You can create view to non-existent table or table with invalid columns by using FORCE option in the CREATE VIEW command. When you query the data from the view you will get an error

TheOracleWasTakenOptions: BEF
Aug 1, 2023

select object_id, object_name from user_objects In this table you will also find views so they do have an object number. Views have no segment since they don't take up physical space

cadcadley
Nov 16, 2023

what that is mean no segment about view

ArslanAltaf
Jun 8, 2024

segment mean physical storage ...