When using multiple SETs for a single update request, for example
update table set col1=value1,col2=col1
Is there an execution order that will determine the result when the same column is to the left or right of the equal sign? As far as I have tested so far, it seems that the column is used to the right of the equal as a data source, then its value is used because it receives a new value within the same update statement, to the left of the equal sign in another place .
source
share