if exists(
select * from inserted a
join poorderentry b on a.FinterID=b.FinterID
where not exists(
select * from t_supplyentry a
where FSupplyID=a.FSupplyID and FItemID=b.FItemID)
)
Begin
ROLLBACK TRAN
RAISERROR('没有供应商供货信息,不能存盘,请输入',18,18)
End
select * from inserted a
join poorderentry b on a.FinterID=b.FinterID
where not exists(
select * from t_supplyentry a
where FSupplyID=a.FSupplyID and FItemID=b.FItemID)
)
Begin
ROLLBACK TRAN
RAISERROR('没有供应商供货信息,不能存盘,请输入',18,18)
End
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货