It is safe to read the first N bytes in a db file and check for the string "** This file contains an SQLite 2..." or the string "** This file contains an SQLite 3..." to determine if the db was created with the 2.x or 3.x version?

Is there a better method?

Thanks.
Marco Bambini
SQLabs.net



Reply via email to