-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdb-queries seems not to export table append queries ("INSERT INTO ... SELECT ..." ) #438
Comments
Hi @thr27, |
Hi @rhurlin Attached is a small sample database. There are the table source and dest and a query (Query) which selects data from source and inserts it into dest INSERT INTO dest If I run mdb-queries, the output is only the SELECT of the query:
|
Hi @thr27, Your database Sample.accdb seems to be of version ACE12 (via I think you are right and it seems that the code in mdb-queries.c can only see some parts of the query. It does not recognize
I have the impression that the code in mdb-queries.c lines 156-162 does not include the entire structure of this part of the Sample.accdb file. If I look in the database file with a hex editor, there is an entry 'LvExtra' between entries 'Flag' and 'Name1', starting at hex address 414B, which is not taken into account. I cannot judge whether this is relevant, but perhaps the entire parsing process is inadequate? As I am neither a C/C++ coder nor have any knowledge of Access database structures, I am unfortunately unable to help at this point, sorry. |
It seems mdb-queries does not export the full sql statement if the query is used to insert data into a table
INSERT INTO new-table
SELECT column FROM old-table
Only the SELECT part is exported.
Is there an option to also export the INSERT INTO ... part ?
The text was updated successfully, but these errors were encountered: