![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, Somehow I want to transfer data from an mysql database on the web to an local offline access database. Note: tables and types do not match. So, I toughed, generating sql commands to insert the data would do the trick. But, unfortunately it works only properly for 1 record. This is what I do (suggestions are more than welcome) Create a new query, skip all the wizard-stuff and choose sql-view. Then I past my dozen sql commands in their. Like: INSERT INTO RunnerInfo ( RunnerID, FirstName, LastName, BirthDate, Gender, ClubName, RaceID ) VALUES (10, 'me', "too", ' 01/01/1900', "M", "city", 2); INSERT INTO RunnerInfo ( RunnerID, FirstName, LastName, BirthDate, Gender, ClubName, RaceID ) VALUES (11, 'me', "not", ' 31/12/1980', "M", "city", 2); ... When I try to save this query, I get: "Characters found after end of SQL statement." This just means that only 1 command is allowed (leaving only 1 command in their shows this). How can I solve this problem and execute multiple sql commands in batch? I have seen the import sql option but I does not read sql commands, It wants to connect to a database, which is, in my case, not possible. |
#3
| |||
| |||
|
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |