sdpsc
Technical User
- Feb 10, 2001
- 76
I'm making a message board for my website using ASP. For inserting new messages into the database, I have this SQL statement:
insert into guestbook (name,email,private,message,date) values('qwert','y','on','yweyyyy!!!','6/14/2005');
Name and email are text type, private is yes/no, message is memo and data is type date. This statement doesn't work (in Access, it says there is a syntax error), but when I remove the date stuff, it works fine. Any thoughts?
insert into guestbook (name,email,private,message,date) values('qwert','y','on','yweyyyy!!!','6/14/2005');
Name and email are text type, private is yes/no, message is memo and data is type date. This statement doesn't work (in Access, it says there is a syntax error), but when I remove the date stuff, it works fine. Any thoughts?