If SQLite3 can open the file at all, the first 16 characters will be "SQLite format 3\000".
On 7/21/17, 10:46 AM, "sqlite-users on behalf of Igor Korot" <[email protected] on behalf of [email protected]> wrote: Hi, Peter et al, On Fri, Jul 21, 2017 at 11:35 AM, Peter Da Silva <[email protected]> wrote: > The problem is that SQLITE_VERSION_NUMBER is not “the database version”, it’s something like “the last version of SQLite that committed a transaction”. > > The database version number is “3”. I guess it is not stored anywhere. That's OK. I will just read and parse first 16 characters of the file... Thank you. > > > _______________________________________________ > sqlite-users mailing list > [email protected] > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

