UPDATE TAB1, TAB2
SET TAB1.quantityId = TAB2.quantityId
WHERE TAB1.Name = TAB2.Name

Et comme ceci ?