我是新來的目標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