UPDATE t2 SET t2.field1=t1.field1, t2.field2=t1.field2, etc FROM table1 AS t1 INNER JOIN table2 as t2 ON t1.emplyeecode=t2.emplyeeid and t1.abc=t2.abc -- might be more WHERE ... -- insert any condition here
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)