加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

sqlite3 – 创建新的sqlite Db

发布时间:2020-12-12 19:10:49 所属栏目:百科 来源:网络整理
导读:我正在Mac OS X上工作, 我想创建一个新的SQLite数据库,和 我使用 http://www.sqlite.org/quickstart.html作为参考. 我输入:sqlite3 test.db 并得到回应: SQLite version 3.6.12Enter ".help" for instructionsEnter SQL statements terminated with a ";"
我正在Mac OS X上工作,
我想创建一个新的SQLite数据库,和
我使用 http://www.sqlite.org/quickstart.html作为参考.

我输入:sqlite3 test.db
并得到回应:

SQLite version 3.6.12
Enter ".help" for instructions
Enter SQL statements terminated with a ";"

为什么会发生这种情况?

因为这是管理shell提示符. shell创建了test.db,现在正在等待你做某事,因此sqlite>提示你看.

此时可能需要创建表…

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读