![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
On Oct 15, 2:36 pm, MikeB<mpbr... (AT) gmail (DOT) com> wrote: Hi, I hope at least one of these newsgroups are still active. ![]() I'm trying to construct am MS Access (2007) query to insert multiple rows in a table. Actually, I have the data from a dump of a MySQL database. I'm trying the following syntax, but it fails for more than one row. INSERT INTO `scoresUncharted` (`ts`, `map`, `user`, `group`, `score`, `playCount`) VALUES ('2010-08-14 11:39:14', '733997', 'Karsten75', 'Marauders', 8243, 1), ('2010-08-22 09:08:13', '734370', 'Sauffaus3', 'Resubmitted', 7619, 1), It works for a single row, but not for multiple rows. So I read up on the syntax and it seems the only way I can insert multiple rows into an Access table is if the data is already in another table? Surely I'm mistaken and there must be a way to insert multiple rows of data as an SQL query without having to code the INSERT INTO `scoresUncharted` (`ts`, `map`, `user`, `group`, `score`, `playCount`) VALUES part of the query for each and every row? Thanks! You need a ; after each row of values instead of a , |
#12
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |