2017-11-16 22:20 GMT+01:00 Richard Hipp <d...@sqlite.org>:

> On 11/16/17, Cecil Westerhof <cldwester...@gmail.com> wrote:
> > ​Is it possible to get the library version before connecting to a
> database?
>
> puts [sqlite -version]
>

​Combining yours and Eric's version, I made:
    #!/usr/bin/env tclsh

    package require sqlite3

    set    sqliteVersion [sqlite3 -version]
    puts   ${sqliteVersion}
    sqlite db ~/Databases/general.sqlite

In real life I will use it to checkthe SQLite verion if necessary.

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

Reply via email to