Instead of trigger to update view with multiple tables
问题 I am trying to find an example of how to update a view on multiple tables using an instead of trigger. That is I want update more than one table that this view selects from. I cant find any examples. If someone can show me how to this that would be great. 回答1: Assuming that you're using SQLServer here is one oversimplified example CREATE TABLE persons (personid int, firstname varchar(32), lastname varchar(32)); CREATE TABLE employees (employeeid int, personid int, title varchar(32)); CREATE