更新表

update  ATB_billInfo   set easyCode=zjm  from  ksoa.dbo.spkfk b where drugSN=b.spbh

原文地址:https://www.cnblogs.com/CandiceW/p/4607983.html