sql server 关联更新

update a set a.name1 = b.name1, a.name2=b.name2
from 表A a, 表B b where a.id=b.id
原文地址:https://www.cnblogs.com/tiandi/p/5016283.html