Can a view be updated/inserted/deleted?If Yes under what
conditions?
Answers were Sorted based on User's Feedback
Answer / guest
A View can be updated/deleted/inserted if it has only one
base table if the view is based on columns from one or
more tables then insert, update and delete is not possible.
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / anurag
Also with the help of instead of trigger we can update the
view
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / swapnareddy
A View can be updated/deleted/inserted if it has only one
base table if the view is based on columns from one or
more tables then insert, update and delete is possible with
thehelp of instead of trigger.
Is This Answer Correct ? | 5 Yes | 2 No |
Can procedure in package be overloaded?
What is the diff between Truncate table / delete <table name> purge
What program will open a mdb file?
Why do we use procedures in sql?
what is collation? : Sql dba
How do I add a database to sql?
What is an implicit commit?
PL/SQL allocates memory for the variable's at runtime or at compile time
Is sql injection illegal?
Is it possible for a table to have more than one foreign key?
how view used for security purposes?
Which one of the following is a reason that an INSERT statement might cause an error instead of executing correctly? 1. The INSERT statement was attempting to insert a record into a view that was created from more than one table. 2. The INSERT statement was attempting to insert a record using a combination of constants and values from an existing table. 3. The INSERT statement was attempting to insert a record with a non-NULL value into a table that has that column defined as NULL. 4. The INSERT statement was attempting to insert a record into a table by selecting a record from that same table. 5. The INSERT statement was attempting to insert a record into a view rather than a table.