Hello,
This seems like it ought to be simple, but I'm getting a syntax error on the following UPDATE statment;
UPDATE
fmlog
SET MONTH(fm_rk_trn_dte)= 8
WHERE MONTH(fm_rk_trn_dte) = 9
AND
fm_rk_trn_dte BETWEEN '09/06/06' AND '09/15/06'
I want to update the month portion of a smalldatetime field to 8 given the conditions in the WHERE clause. What am I missing?
Thank you for your help.
CSDunn