Run the following query first. That will show you the current values and the new values they will be updated to. Then, if you are satisfied, run the second query. That will do the updating.SELECT [TimeStamp] AS CurrentValue, DATEADD(mm,-2,[TimeStamp]) AS NewValueFROM YOUR TABLEWHERE YEAR([TimeStamp]) = 2011 AND MONTH([TimeStamp]) = 8;----UPDATE YOURTABLE SET [TimeStamp] = DATEADD(mm,-2,[TimeStamp])WHERE YEAR([TimeStamp]) = 2011 AND MONTH([TimeStamp]) = 8;
Be VERY careful about having the WHERE clause exactly as above. If not, the WHOLE table will get updated!