The following expression f1will always get the value that has f2? Or will it be updated first f2, but f1ends with NULL? I get the impression that the new values are not available in the statement, which f2has the old meaning when processing the record, but I can’t find an authoritative place that speaks about this.
UPDATE x
SET
x.f1 = x.f2,
x.f2 = NULL
source
share