SQLite check integrity and fix common problems
Every now and then you need to check the integrity of an SQLite database. The command for this is: sqlite>PRAGMA integrity_check; This will either report the problems or just return “ok” If it does report problems one solution I always