Updating the transaction table in production server is always affects performance and data integrity.Try to schedule to update the db in night time, that's when user not hitting the db.
And u can try as follow,
update table1 set table1.col2=table2.col2
from table1,table2
where table1.col1=table2.col1
Thanks,
Viji
|