>update Box ; > set ; > Box.freezer = NewLocation.freezer, ; > Box.shelf = NewLocation.shelf, ; > Box.rack = NewLocation.rack, ; > Box.position = NewLocation ; > from NewLocation ; > where Box.box = NewLocation.box >>
>UPDATE Target > SET Column_Name1 = eExpression1 [, Column_Name2 = eExpression2 ...] > [FROM [FORCE] Table_List_Item [[, ...] | [JOIN [ Table_List_Item]]] > WHERE FilterCondition1 [AND | OR FilterCondition2 ...] > >>
update Box ; set ; Box.freezer = NewLocation.freezer, ; Box.shelf = NewLocation.shelf, ; Box.rack = NewLocation.rack, ; Box.position = NewLocation.position ; && !!!!! from NewLocation ; where NewLocation.box = Box.box