3
SQLite version 3.7.3
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> ATTACH DATABASE 'test.db' AS 12;
sqlite> SELECT * FROM ids;
1|hi
2|hilo
3|hiloa
4|hiloas
sqlite> .databases
seq name file
--- --------------- ----------------------------------------------------------
0 main
2 12 C:\test.db
sqlite> SELECT * FROM 12.ids;
Error: unrecognized token: "12.ids"
爲什麼錯誤?數據顯然存在。SQLite爲什麼不讓我查詢特定的連接數據庫?
真棒,謝謝。比在前面寫一封信要好得多。 – chacham15 2012-02-25 01:22:54