can we update a view which is created from two tables

Answer Posted / sankar

It is not possible to update a view which is created from
two tables.Actually when we update any viewtha first the
view has been updated followed by the base table.If we use
instead of trigger then the base be table will updated
first not the view.Because the view is stored in database
as a query.Once the base table will be changed,the view
query will hit the base table and reflects the changes.But
I think that's not the desired answer.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is trigger point?

732


What is a procedure in pl sql?

780


Can we rollback after truncate?

752


How is use pl and sql?

736


What are the basic sql commands?

746






Define select, insert, create, delete, update, drop keywords

776


What is compound trigger?

752


Explain spool.

904


Why do we need view in sql?

730


Which are the different case manipulation functions in sql?

734


What is trigger in sql? Explain

700


What is sql analyzer?

759


How do I sort a table in sql?

765


explain normalization concept? : Sql dba

788


What is a database? Explain

784