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 sqlite library or driver or user_version or schema_version).
相关问题
- NOT DISTINCT query in mySQL
- SQL/SQL-LITE - Counting records after filtering
- Flush single app django 1.9
- keeping one connection to DB or opening closing pe
- What SQLite NuGet package do I need
You can extract the information from the header file. It will require you to open the database file 'by hand' but I don't know if there is an API function to get this information.
You have to open the python shell then write these steps:
I found this to be the easiest method to determine the version of sqlite. Run the Python IDLE Shell, then do the following:
In my case it was 2.6.0. Hope this helps... Mark