SQL Server更新表(用一张表的数据更新另一张表的数据) UPDATE table1 SET field1=table2.field1,field2=table2.field2 FROM table2 WHERE table1.id=table2.id