How to convert an sqlite 2 database into an sqlite 3 database

sqlite2 path/to/olddb .dump > backupfile
sqlite3 path/to/newdb < backupfile

3 Responses to “How to convert an sqlite 2 database into an sqlite 3 database”


  1. 1 Ahmed

    Hello!

    I tried this way and it seems to work good, but for a unicode database table fields !! I think that part didn’t work right. So, any Ideas to solve such problem?

    Thanks.

  2. 2 lazloman

    Where can I get sqlite2? It doesn’t appear to come with the version distro, at least not for Gentoo.

  3. 3 John

    Like, you know, the internet man.

Leave a Reply




Close
Powered by ShareThis