how can i interchange column values?

Hi,

      I have the following table as

       sno     product

   --------     -----------

       1           product1

       2           product2

       3           product3

       4           product4

       I want to interchange the first two rows product sno as    2 for product1 and 1 for product2 and store the updated values in cdt again How can i do that?

  Discussion posts and replies are publicly visible