It seems to me that if you have fields that depend on each other in the update instructions, Iโm not sure that you can guarantee the order (or the one you need!).
As an example, let's say that you have the following update:
UPDATE Table SET NewValue = OldValue, OldValue = NULL
Will NewValue always be updated first, then OldValue will be canceled? Or the state of a row (or set or table, etc.) is unchanged during processing so that all changes are not committed until the changes have been calculated?
source share