且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

T-SQL 输出子句:如何访问旧的身份 ID

更新时间:2023-02-06 07:44:55

您必须将 @act_map_matrix 重新加入 Act 以获得旧"值.

You'll have to join back @act_map_matrix onto Act to get the "old" value.

它在 INSERT 语句中根本不可用

It's simply not available in the INSERT statement

希望@new_scriptID 和"scriptid=2" 可以作为连接列

edit: one hopes that @new_scriptID and "scriptid=2" could be the join column