Is there a command line utility for validating SQLite databases in Linux? -
i looking command line utility validate sqlite databases. ran situation in inherited code application fails startup because attempt access database produced following error:
database disk image malformed
so need instrument validation code in application. additionally, though, need tool can run linux prompt tell me if database corrupt or not.
thanks
you can this:
sqlite3 database.db "pragma integrity_check"
Comments
Post a Comment