日期:2014-05-18  浏览次数:20509 次

數據更新
a表得1條記錄數值需要更新成和b表的1條記錄數值相同

------解决方案--------------------
SQL code
update a
set a.col = b.col
from b

------解决方案--------------------
两表通过什么关联?

update a set a.name=b.name from b where a.id=b.id
------解决方案--------------------
探讨

SQL code
update a
set a.col = b.col
from b



???