我运行以下查询:
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上添加了触发器。