I have the following piece of inline SQL that I run from a C# windows service:
UPDATE table_name SET status_cd = \'2\', sdate = CAST(\'03/28/2011 1
It's a date format issue. In Ireland the standard date format for the 28th of March would be "28-03-2011", whereas "03/28/2011" is the standard for the USA (among many others).