Sequential update statements

Viewed 433

When using multiple SETs on a single update query like

update table set col1=value1,col2=col1

is there an order of execution that will decide the outcome, when the same column is left or right of an equals sign? As far as I've tested so far, it seems when a column is used to the right of an equals as a data source, then its value is used from BEFORE it gets a new value within the same update statement, by being to the left of an equals sign elsewhere.

1 Answers
Related