Can a view be updated/inserted/deleted?If Yes under what
conditions?

Answers were Sorted based on User's Feedback



Can a view be updated/inserted/deleted?If Yes under what conditions?..

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

Can a view be updated/inserted/deleted?If Yes under what conditions?..

Answer / anurag

Also with the help of instead of trigger we can update the
view

Is This Answer Correct ?    4 Yes 0 No

Can a view be updated/inserted/deleted?If Yes under what conditions?..

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

Post New Answer

More SQL PLSQL Interview Questions

What are the parts of a basic sql query?

0 Answers  


i want count no of values in a column i.e enam eempno phoneno x 1 (98765,09887,096561,87964579,156678,678900876) that means if i select phone no from table i want to get total count of phone numbers i.e 6

8 Answers   Satyam,


Talk about views

10 Answers   Polaris,


What is pivot query?

0 Answers  


What is the source code of a program?

0 Answers  






is mysql query is case sensitive? : Sql dba

0 Answers  


Is primary key always clustered index?

0 Answers  


What are the uses of sysdate and user keywords?

0 Answers  


What is sql mysql pl sql oracle?

0 Answers  


Is it mandatory for the primary key to be given a value when a new record is inserted?

0 Answers  


How to write a query to show the details of a student from students table whose

0 Answers  


How do you take the union of two tables in sql?

0 Answers  


Categories