On 21 Oct 2016, at 12:17am, Rolf Ade <r...@pointsman.de> wrote:

> What suffixes to sqlite database files do you use or see in the wild?

If you're writing a general utility for SQLite databases you can not depend on 
anything.  The two suffixes '.db' and '.dat' can mean anything at all.

The Unix 'magic' utility looks for the SQLite file header.  It checks the 
beginning of the file for "SQLite format 3" I think.  This is a far better test 
than depending on the extension.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to