How to find SQLITE database file version

后端 未结 9 1530
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 11:46

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

9条回答
  •  眼角桃花
    2020-12-02 12:27

    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

提交回复
热议问题