if you update view? where we store the data?
Answers were Sorted based on User's Feedback
Answer / smrao
Even if we update the view, the data will update in the
base table of the view.
Is This Answer Correct ? | 26 Yes | 2 No |
in the table itself..view does not contain any data!
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / vishal muthal
View is nothing but the virtual table made from few columns
of the base table to get faster retrival and fetch of the
data. Hence when you update any view the column which you
updating is get updated,and the column basically belongs to
the base table.hence answer is IT WILL UPDATE BASE TABLE
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sivakumar
The value gets updated in base table. This is done by insteadof trigger
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh.ch
The updated data will be stored in base table directly.
Explanation:
View is always reference for base table .view is a virtual
table.Unless a view is indexed,its data is not stored in
data base as a distinct element. only the select statement
is stored in the data base.If you call the select statement
of view ,it displays the data form base table.
Is This Answer Correct ? | 0 Yes | 0 No |
What is TNS File
How to create a table in a specific tablespace?
How to add another datafile to a tablespace?
What is meant by recursive hints ?
What is the Extension of Oracle Database? As extension of Access Database is .mdb
What is the effect of setting the value of OPTIMIZER_MODE to 'RULE' ?
How to write a left outer join with the where clause in oracle?
Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).
What are cursor?where are they used?
what are views?
can you call insert/update/delete in select statements. If yes how? If no what is the other way?
What are internal user account in oracle?