我尝试使用以下命令在提示符下创建数据库文件,但它们都不起作用.
$ sqlite3 test.db
sqlite3 test.db
test.db
Run Code Online (Sandbox Code Playgroud)
它最后是否需要分号或使用sqlite3提示创建数据库文件是否困难?
编辑:
当我启动sqlite3提示时,我得到了
SQLite version 3.6.22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>
Run Code Online (Sandbox Code Playgroud)
当我输入"sqlite3 test.db"时,
SQLite version 3.6.22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> sqlite3 test.db
...>
Run Code Online (Sandbox Code Playgroud)
应该是磁盘上的test.db文件?