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 are literals in sql server?

520


What is nosql vs sql?

553


What is the difference between microsoft sql and mysql?

501


What are pl sql procedures?

508


What is the order of sql select?

562






What is a join query?

539


what is csv? : Sql dba

563


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

481


Explain foreign key in sql?

615


Is record in oracle pl sql?

521


What are commit, rollback, and savepoint?

562


What is difference between joins and union?

521


Can you have more than one key in a database?

499


when MSQL8.0 is in market

1588


How do I count records in sql?

503