阅读背景:

将数据合并到两个目标表中

来源:互联网 

I need to merge data from a donor table into two destination tables. The structure is as below. If a projid is not found in the trace table, i need to create new component in the component table and use the new id to insert into the trace table. Also, for those items that no longer exist in the donor table, the trace table 'active' column should be marked 0. Can i achieve this in a single merge statement?I need to merge data from a donor table into tw




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: