0

我是 sqlite3 的新手。我有一些包含 .db 文件的文件以及另一个包含许多表的定义的文件。我尝试用记事本打开,发现它已经创建了许多文件的表定义。
我正在尝试在 linux 的 sqlite3 中阅读它们。我尝试使用 .read FILENAME ,之后我尝试通过给出 .tables 命令来查看表格。我看不见他们。

有没有办法我需要获取文件或执行。提前感谢您的帮助

4

2 回答 2

0

I haven't done anything with SQLite in a long time, but when I did work with it I used a Firefox extension that made it easy.

Check out SQLite Manager to open the DB file:

https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/

于 2013-10-20T03:28:29.213 回答
0

.read FILENAME already executes the sql script in the FILENAME. Check if your .db file is writable and/or if the sql contained your file is correct.

于 2013-10-20T03:32:03.133 回答