I have the following problem : I have rows like
ID CODE NAME .........
1 h1100h1 Cool example1 .........
2 h654441 Another cool1 .........
I would like to swap them retaining all old primary keys and constraints. Of course, I can easily solve this manually by updating the rows. I am kind of wondering whether anybody has any excellent solution for this kind of problem instead of just executing update command manually. I really really appreciate any suggestions or recommendations.