我是新来的目标c。我试图创建在我的Mac第一次数据库我没有以下步骤无法打开数据库“test.sql”:无法打开xcode中的数据库文件
******100$ sqlite3 test.sql
SQLite version 3.7.5
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
但闻一进入.schema我收到以下错误
sqlite> .schema
Error: unable to open database "test.sql": unable to open database file
而且同样的错误,如果我去创建一个teble
我开始怀疑你有test.sql'称为文本文件'和您正试图使用'sqlite3'命令行工具来打开它作为一个数据库... – trojanfoe 2012-08-10 09:59:42
雅我得到它比thanx很多trojanfoe – 2012-08-10 10:48:45