Hi,
I am getting this error when I try to run my code:
Missing semicolon (;) at end of SQL statement
However, there is a semicolon at the end of my statement. Here is the statement:
INSERT INTO Schedule (UserID,Meeting Date,MainID,Sec ondID,ThirdID,F ourthID,AddID) VALUES ('1','6/22/2007','10','12' ,'12','12','13' ) ON DUPLICATE KEY UPDATE MainID='10',Sec ondID='12',Thir dID='12',Fourth ID='12',AddID=' 13';
*I am generating this SQL from an ASP website. I have asked it to display what the SQL will be, and that is what I have copied and pasted below. I am interfacing with Access 2000.
*UserID and MeetingDate are the Primary Keys to the table Schedule.
Can anyone help?
Thanks!
I am getting this error when I try to run my code:
Missing semicolon (;) at end of SQL statement
However, there is a semicolon at the end of my statement. Here is the statement:
INSERT INTO Schedule (UserID,Meeting Date,MainID,Sec ondID,ThirdID,F ourthID,AddID) VALUES ('1','6/22/2007','10','12' ,'12','12','13' ) ON DUPLICATE KEY UPDATE MainID='10',Sec ondID='12',Thir dID='12',Fourth ID='12',AddID=' 13';
*I am generating this SQL from an ASP website. I have asked it to display what the SQL will be, and that is what I have copied and pasted below. I am interfacing with Access 2000.
*UserID and MeetingDate are the Primary Keys to the table Schedule.
Can anyone help?
Thanks!
Comment