SQLite特别小巧,便于操作,适合app中使用。使用命令行工具,可以轻松把txt文本数据导入其中,供后续处理。方法如下:
1、SQLite主页上介绍的方法
参见https://www.sqlite.org/cli.html
2、另外,也可以参见:
https://stackoverflow.com/questions/15317929/load-contents-in-text-files-to-sqlite-table
在终端使用sqlite3,Mac系统默认已经安装。
SQLite特别小巧,便于操作,适合app中使用。使用命令行工具,可以轻松把txt文本数据导入其中,供后续处理。方法如下:
1、SQLite主页上介绍的方法
参见https://www.sqlite.org/cli.html
2、另外,也可以参见:
https://stackoverflow.com/questions/15317929/load-contents-in-text-files-to-sqlite-table
在终端使用sqlite3,Mac系统默认已经安装。