0
点赞
收藏
分享

微信扫一扫

Update还可以这样用

先峰老师 2022-08-04 阅读 80


update PU_T_VMIUsedVouchs set bcosting =(case when isnull(iconfirmquantity,0)=0 then 0 else bincost end) 
from warehouse 
where warehouse.cwhcode=PU_T_VMIUsedVouchs.cwhcode and PU_T_VMIUsedVouchs.id=N'1000000066'
go

举报

相关推荐

0 条评论