﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Divya  Agrawal  / swap value in one column / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 11:39:26 GMT</lastBuildDate><ttl>20</ttl><item><title>swap value in one column</title><link>http://www.sqlservercentral.com/Forums/Topic1131153-1418-1.aspx</link><description>Is there a quick way to swap a set of values in one column?I have labels that need to be swapped:     OLD                                NEWAxis Index Label            Axis Index Label     X     0      A                X     0      1  X     1      B                X     1      2  X     2      C                X     2      3  Y     0      1                X     3      4   Y     1      2                Y     0      A  Y     2      3                Y     1      B  Y     3      4                Y     2      C  I can't switch the axis because ther are other columns that need to remain with the axis.Do I have to create a temporary table to store one set of data, then update the other set and then replace the first set with the temporary data or is there an easier way to do this?          Thanks</description><pubDate>Fri, 24 Jun 2011 07:56:28 GMT</pubDate><dc:creator>gsansofteng</dc:creator></item></channel></rss>