创建新的 sqlite 数据库 [英] create new sqlite Db
本文介绍了创建新的 sqlite 数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 Mac OS X 上工作,我想创建一个新的 SQLite 数据库,并且我使用 http://www.sqlite.org/quickstart.html 作为参考.
I am working on Mac OS X, I want to create a new SQLite DB, and I am using http://www.sqlite.org/quickstart.html as a reference.
我正在输入:sqlite3 test.db
并得到回应:
I am entering: sqlite3 test.db
and getting the response:
SQLite version 3.6.12
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
为什么会这样?
推荐答案
因为这是管理 shell 提示.shell 创建了 test.db,现在正等着你用它做一些事情,因此你会看到 sqlite>
提示.
Because that is the administrative shell prompt. The shell created test.db and is now waiting for you to do something with it thus the sqlite>
prompt you see.
此时您可能想要创建表...
.
这篇关于创建新的 sqlite 数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文