| Home / Oracle / Database / Q: Can a view be updated/inserted/deleted? If Yes under what conditions ? |
Q: Can a view be updated/inserted/deleted? If Yes under what conditions ? |
||||
A: 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.
|
||||
Comments
|
14 Jul, 2008
|
mahendra baisane
|
|
There are two types of view simple view and complex view.we perform DML operation on simple view rather than complex view |
|
20 Jun, 2008
|
Pravat Kumar Jena
|
|
Yes, a view can be inserted,upadated and deleted. A simple view(one base table) can be inserted,updated and deleted directly by using DML Commands but a complex view(multiple base table with join condition) can be inserted,updated and deleted through in stead of trigger.Before DML operation there should be sufficient previllages. |
|
13 Jun, 2008
|
nisha
|
|
yes a view can be inserted updated deleted provided the column is not used in the main query. |
Powered by
KBPublisher (Knowledge base software)
