日期:2014-05-17 浏览次数:20572 次
update a set a.iSafeNum = b.iSafeNum from bb a join Inventory b on a.cInvCode = b.cInvCode
------解决方案--------------------
update b
set b.iSafeNum = a.iSafeNum
from bb a join Inventory b on a.cInvCode = b.cInvCode
------解决方案--------------------
update b set b.iSafeNum = a.iSafeNum from bb a join Inventory b on a.cInvCode = b.cInvCode
------解决方案--------------------
update Inventory set iSafeNum=bb.iSafeNum from Inventory,bb where Inventory.cInvCode=bb.cInvCode