I have few sqlite database files. I want to know the database file version i.e if the database was created with sqlite2 or sqlite3 or any other main/sub version (not the sql
I found this to be the easiest method to determine the version of sqlite. Run the Python IDLE Shell, then do the following:
>>> import sqlite3
>>> sqlite3.version
'2.6.0'
In my case it was 2.6.0. Hope this helps... Mark
If you have a data connection to it in Visual Studio, you can right click on the data base in Server Explorer, select properties, and the version will be shown in the properties window, (under Version, surprisingly). You might need to left click the database first to open it.
Get user_version: run sql: PRAGMA user_version;
Get schema_version: PRAGMA schema_version;
When create database file (.db), user_version can be set by user.