<p>I need a way to update the month value on a dateTime field in my db. I'm being past an int value for the month and need to use that for the update. 
Is it possible to do this in the sql statement or would I be best doing it in c# in the webservice?</p>

Shift down and then up again:
```
```
UPDATE table
SET datecol = DATEADD(m, @newmonth, DATEADD(m, -MONTH(datecol), datecol))
WHERE id = @id
```
```
or, more simply:
```
```
UPDATE table
SET datecol = DATEADD(m, @newmonth - MONTH(datecol), datecol)
WHERE id = @id
```
```