SQL批量修改数据

1 1UPDATE a SET WtNo=b.NO
2 from WT_Task a
3 INNER JOIN WT_BasicInformation b ON a.WtId=b.ID;
4 2UPDATE a SET a.WtNo=b.NO
5 FROM WT_Task a,WT_BasicInformation b
6 WHERE a.WtId=b.ID;

 

posted @ 2017-08-29 13:45  温故余学  阅读(6974)  评论(0编辑  收藏  举报