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

后端 未结 11 1417
青春惊慌失措
青春惊慌失措 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条回答
  •  孤独总比滥情好
    2020-11-22 16:54

    You might create a View selecting the column names required by your insert statement, add an INSTEAD OF INSERT Trigger, and insert into this view.

提交回复
热议问题