failed : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Update mergent.LogSession Set SessionEnd = '2012-02-08 02:36:40' where Id =