Hello everybody!
I am currently working on a desktop program, which should read and write things to a SQLite 3 - DB.
I have bought and used "SQLite Maestro" to create a (somewhat complex) DB, with foreign keys used.
But if I try to open that DB inside B4PPC, I get an error about a malformed DB:
"Error Description:
The database disk image is malformed
malformed database schema (Q1) - near "NO":syntax error"
I have then created a new DB, with just two tables, those opened perfectly fine. But as soon as I add a foreign key, I get the error from above.
Now I am shocked as I have spent a lot of time to create the (real complex) DB (not this demo db ;-) ) and hope that anybody from you knows what I could do here to get this working :-?
I need this DB with the foreign keys :-/
I have attached a ZIP file, consisting of a small demo-program, which simply opens the DB and tries to read s.th. from the (empty) DB and the test-DB-File with the two tables and the one foreign key.
Thanks a lot for any help on this!
Best regards,
Christian
I am currently working on a desktop program, which should read and write things to a SQLite 3 - DB.
I have bought and used "SQLite Maestro" to create a (somewhat complex) DB, with foreign keys used.
But if I try to open that DB inside B4PPC, I get an error about a malformed DB:
"Error Description:
The database disk image is malformed
malformed database schema (Q1) - near "NO":syntax error"
I have then created a new DB, with just two tables, those opened perfectly fine. But as soon as I add a foreign key, I get the error from above.
Now I am shocked as I have spent a lot of time to create the (real complex) DB (not this demo db ;-) ) and hope that anybody from you knows what I could do here to get this working :-?
I need this DB with the foreign keys :-/
I have attached a ZIP file, consisting of a small demo-program, which simply opens the DB and tries to read s.th. from the (empty) DB and the test-DB-File with the two tables and the one foreign key.
Thanks a lot for any help on this!
Best regards,
Christian