rtatnell
04-25-2003, 04:29 PM
I'm using SQL to update my online database.
I'm trying to insert a new record into a table using the INSERT statement, however I'm having difficulty inserting a date into the date field for my record. The date is in Short Date form and I'm using SQL code just like the one below, could you please explain why it's not working. I get the error "Syntax error in Insert statement". Thanks
SQL
INSERT INTO tblinfo (string1,date) VALUES ('Hello','21/9/03')
I'm trying to insert a new record into a table using the INSERT statement, however I'm having difficulty inserting a date into the date field for my record. The date is in Short Date form and I'm using SQL code just like the one below, could you please explain why it's not working. I get the error "Syntax error in Insert statement". Thanks
SQL
INSERT INTO tblinfo (string1,date) VALUES ('Hello','21/9/03')