无法更新已配置触发器的表中的多个记录

时间:2012-07-20 21:58:26

标签: sql triggers

我运行以下查询:

update XFolder
set isdeleted = 1
where XFolder.XFolderID in (select FundRaiseXFolder.XFolderID from FundRaiseXFolder where FundRaiseID = 6233)

我收到以下错误:

Msg 512, Level 16, State 1, Procedure Fippex_UpdateXFolderCacheTableForPrivatePublic, Line 20
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

以前我一直工作正常,直到我在表格xfolder上添加了触发器。

0 个答案:

没有答案