查询分析工具 在对应所需名称或序数的集合中,未找到项...
金蝶云社区-ag_jiajunlei
ag_jiajunlei
0人赞赏了该文章 875次浏览 未经作者许可,禁止转载编辑于2016年12月21日 22:50:54

执行了一个存储过程,然后在查询分析工具中调用,结果报错。如图

在查询分析工具中调用时,已经加上了 set nocount on

新建的存储过程如下

create proc ZZ_cbcy
as

update a set a.fentryselfB0184= b.FAuxprice from ICSTOCKBILLENTRY a,ICSTOCKBILLENTRY b,ICSTOCKBILL c
where a.FSourceInterID=b.finterid and a.FSourceEntryID=b.FEntryID
and a.finterID=c.finterID
and c.ftrantype=21
and a.FSourceTranType=41

update ICSTOCKBILLENTRY set fentryselfB0185=Round(fentryselfB0184*FAuxQty,2) ,fentryselfB0186= FAmount-fentryselfB0185 from ICSTOCKBILLENTRY a,ICSTOCKBILL c
where a.finterID=c.finterID
and c.ftrantype=21

go