2017-11-16 22:20 GMT+01:00 Richard Hipp <[email protected]>:
> On 11/16/17, Cecil Westerhof <[email protected]> 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
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users