Update Table
I am trying to update a table with a column from a different table. The code I am trying is:
UPDATE table1, table2
SET table1.column = table2.column
WHERE table1.id = table2.id
It works updating the table but it is locking both tables while it runs. I need to find a way to update a table without locking both tables
Thanks
Henry
|