Structural Integrity
PRAGMA main.integrity_check(50)
Check a SQLite snapshot for structural errors and optional foreign-key violations.
Choose a complete SQLite snapshot or open the sample.
PRAGMA main.integrity_check(50)
Checks SQLite pages, indexes, and supported table constraints. SQLite can return up to 50 errors.
PRAGMA main.integrity_check(50)
PRAGMA main.foreign_key_check
Scope covers the supplied main database only. A pass does not verify application data rules or whether a live copy missed changes.