如何将 sqlite2 转换为 sqlite3 以及两个版本之间有什么区别? [英] How to convert sqlite2 to sqlite3 and what are the differences between both versions?
本文介绍了如何将 sqlite2 转换为 sqlite3 以及两个版本之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将 sqlite2 db 转换为 sqlite3,是否有任何教程显示如何执行此操作?如果我在开始项目时正确迁移会发生什么?
I need to convert from sqlite2 db to sqlite3, is there any tutorial that shows how to do it? And if I migrate correctly what to expect as I start the project?
推荐答案
SQLite 网站 说:
sqlite OLD.DB .dump | sqlite3 NEW.DB
其中 sqlite
是版本 2,sqlite3
是版本 3.
where sqlite
is version 2 and sqlite3
is version 3.
这篇关于如何将 sqlite2 转换为 sqlite3 以及两个版本之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文