Skip to content
Advertisement

Swap value between rows

I want to swap dynamically values in column VAL2.

The case is when in tech I have got X. I want to upload data from other rows where values in cells are the same ( the only difference is EN1 and EN2 ) because values there are reversed.

~~ SQL server

table screen

I tried to update, case, but I do not know how to pass only one value in the update and make it dynamically for many different cases.

Advertisement

Answer

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement