SyntaxFix
Write A Post
Hire A Developer
Questions
You can use case in update and SWAP as many as you want
update Table SET column=(case when is_row_1 then value_2 else value_1 end) where rule_to_match_swap_columns