Hi ... I am just starting to use B4A and really love it.
I would like to use DBUTILS to create my Database Tables. However, I have 2 requirements that don't seem to be in the current version of DBUTILS.
1. Foreign Key Support which is documented here:
http://www.sqlite.org/foreignkeys.html
I believe the format is:
[FieldName] TEXT NOT NULL CONSTRAINT [ConstraintName] REFERENCES [OtherTableName]([FieldInOtherTable]),
2. Primary Keys with multiple columns. These are SQLite as constraints and the format is:
PRIMARY KEY (field1, field2, field3, field4)
See http://www.sqlite.org/syntaxdiagrams.html#table-constraint
Any chance of these being added into DBUTILS? Or help in getting me to add it into my copy of DBUTILS? Or would it be better for me to use an external program to create the DB on the PC and then copy it into my application directory on the Android device.
Any help will be appreciated.
Thanks ... Jeff
I would like to use DBUTILS to create my Database Tables. However, I have 2 requirements that don't seem to be in the current version of DBUTILS.
1. Foreign Key Support which is documented here:
http://www.sqlite.org/foreignkeys.html
I believe the format is:
[FieldName] TEXT NOT NULL CONSTRAINT [ConstraintName] REFERENCES [OtherTableName]([FieldInOtherTable]),
2. Primary Keys with multiple columns. These are SQLite as constraints and the format is:
PRIMARY KEY (field1, field2, field3, field4)
See http://www.sqlite.org/syntaxdiagrams.html#table-constraint
Any chance of these being added into DBUTILS? Or help in getting me to add it into my copy of DBUTILS? Or would it be better for me to use an external program to create the DB on the PC and then copy it into my application directory on the Android device.
Any help will be appreciated.
Thanks ... Jeff