InterviewSolution
Saved Bookmarks
| 1. |
Does Sqlite Support Foreign Keys? |
|
Answer» As of version 3.6.19, SQLITE supports foreign key CONSTRAINTS. But ENFORCEMENT of foreign key constraints is turned off by default (for backwards compatibility). To enable foreign key CONSTRAINT enforcement, run PRAGMA foreign_keys=ON or compile with -DSQLITE_DEFAULT_FOREIGN_KEYS=1. As of version 3.6.19, SQLite supports foreign key constraints. But enforcement of foreign key constraints is turned off by default (for backwards compatibility). To enable foreign key constraint enforcement, run PRAGMA foreign_keys=ON or compile with -DSQLITE_DEFAULT_FOREIGN_KEYS=1. |
|