打开命令行
导出数据到data.csv
D:\project>sqlite3.exe old.db
SQLite version 3.21.0 2017-10-24 18:55:49
Enter “.help” for usage hints.
sqlite> .output data.csv
sqlite> select * from ProjData where XXXXXX;
sqlite> .output stdout
sqlite> .exit
将数据data.csv导入到数据表
D:\project>sqlite3.exe new.db
SQLite version 3.21.0 2017-10-24 18:55:49
Enter “.help” for usage hints.
sqlite> .import data.csv ProjData
sqlite> .exit
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zbc415766331/article/details/78675183