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
i faced this issue where i was using SQL it is different from MYSQL the solution was puting in this format: =date('m-d-y h:m:s'); rather than =date('y-m-d h:m:s');