Hi everyone,
I would like to do something like the following
UPDATE table SET column = other_column IN(complex_statement)
My question is whether this wold cause the complex statement to be evaluated for each row or not, which would obviously not very good for performance.
The alternative would be doing
UPDATE table SET column = 0;
UPDATE table SET column = 1 WHERE other_column IN(complex_statement)