זקוק לעזרה על מפשט SQL ב MYSQL

webi

New member
זקוק לעזרה על מפשט SQL ב MYSQL

אני מנסה הריץ משפט SQL שמשנה תאריך באחד השדות שלי ככה:
sql1="update details set manoi='"& cstr(fullDate) &"' where id="& number &""​
כשאני מדפיס את המשפט ה SQL שלי זה מה שמתקבל:
update details set manoi='2004-1-30' where id=14​
אולם כשאני נותן פקודה לשורה להתבצע אני מקבל את השגיאה:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [MySQL][ODBC 3.51 Driver][mysqld-4.0.13-nt]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 '{ call execut('update details set manoi=\'2004-1-30\' where id=​
אין לי מושג למה... כשאני מריץ אץ השורה במתורגמת ב MySQL Control Center אין שום בעיה והשורה מתעדכנת כמו שצריך...
 
למעלה