Greetings,
I want to try to update some date values in a test database on SQL 2000 server. I would assume that this would work:
update JobTable
set datepart(yyyy,jobdate) = '2009'
But no, syntax error Incorrect syntax near '('.
I have tried a few other ways, with again no success. Perhaps this just cannot be done?
I humbly beg advice form the experts on this forum!
I want to try to update some date values in a test database on SQL 2000 server. I would assume that this would work:
update JobTable
set datepart(yyyy,jobdate) = '2009'
But no, syntax error Incorrect syntax near '('.
I have tried a few other ways, with again no success. Perhaps this just cannot be done?
I humbly beg advice form the experts on this forum!