The structure of the view will decide if it is updatable or not. The manuals talk about "key preserved . . . "
I think of it as: If I can write an update such that ONE row of ONE table is updated, then that update is allowed and can be generalised to many rows. (Is that a ROT? Is there a flaw it it?)
"The power of instruction is seldom of much efficacy except in those happy dispositions where it is almost superfluous" - Gibbon, quoted by R.P.Feynman
Originally posted by kris123 u can also update views if u have granted privileges on it.
Yes, they are accessible only if ur database is started up and open.
Thanks
Hi. I could be very wrong but just want to clarify that in the different stages of startup, these views and tables are subject to availability?
In additional, there are 3 stages of startup as belows
You question isn't very clear but I think what you are trying to ask is what (data dictionary) static tables and dynamic views are visible at various stages of database startup.
eg.
startup nomount
v$session - yes
dba_tablespaces - no
alter database mount;
v$session - yes
dba_tablespaces - no
Thanks for all who taught me. i tried and get the below
ORA-01219: database not open: queries allowed on fixed tables/views only
Cheers!
01219, 00000, "database not open: queries allowed on fixed tables/views only"
// *Cause: A query was issued against an object not recognized as a fixed
// table or fixed view before the database has been opened.
// *Action: Re-phrase the query to include only fixed objects, or open the
// database.
Just 2 more confirmation
1) Since the above indicates that there are fixed views, and with my example, v$session can be selected in the startup nomount stage, therefore, it is not a fixed view since it can only be selected after a database open.
Bookmarks