Update one table from another table:-

UPDATE #temp1
SET #temp1.t3=#temp2.t3, 
#temp1.t4 = #temp2.t4 
FROM #temp1, #temp2 
WHERE #temp1.row = #temp2.row

Comments

Popular posts from this blog