![]() To check whether your current version of SQLite supports foreign key constraints or not, you use the following command. The SQLite library must also be compiled with neither SQLITEOMITFOREIGNKEY nor SQLITEOMITTRIGGER. For this to happen, declare the Id column as either ROWID or INTEGER PRIMARY KEY. SQLite has supported foreign key constraint since version 3.6.19.
0 Comments
Leave a Reply. |