SQL Server: Is it possible to insert into two tables at the same time?

后端 未结 11 1378
青春惊慌失措
青春惊慌失措 2020-11-22 16:22

My database contains three tables called Object_Table, Data_Table and Link_Table. The link table just contains two columns, the identi

11条回答
  •  Happy的楠姐
    2020-11-22 17:03

    Before being able to do a multitable insert in Oracle, you could use a trick involving an insert into a view that had an INSTEAD OF trigger defined on it to perform the inserts. Can this be done in SQL Server?

提交回复
热议问题