F
Fred Horton
When I try to use "Insert Into..." to populate tables in
Access with multiple records, I get the following error
message: Characters found after end of SQL statement
Below is an example of the SQL statement I am using. When
I use this with SQL Server 2000 it works fine, but in
Access, I always get that error message. If someone has
solved this problem, I would very much appreciate some
help solving this.
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20005, '2001/5/1', '1000000001');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20006, '2001/1/12', '1000000003');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20007, '2001/1/30', '1000000004');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20008, '2001/2/3', '1000000005');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20009, '2001/2/8', '1000000001');
Access with multiple records, I get the following error
message: Characters found after end of SQL statement
Below is an example of the SQL statement I am using. When
I use this with SQL Server 2000 it works fine, but in
Access, I always get that error message. If someone has
solved this problem, I would very much appreciate some
help solving this.
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20005, '2001/5/1', '1000000001');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20006, '2001/1/12', '1000000003');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20007, '2001/1/30', '1000000004');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20008, '2001/2/3', '1000000005');
INSERT INTO Orders(order_num, order_date, cust_id)
VALUES(20009, '2001/2/8', '1000000001');