當我用一樣,訪問停留當我使用「喜歡」運算符時,Access數據庫掛起?
SELECT ox.*, '+++++++++++' AS judo, sh2.*
FROM OXUS AS ox INNER JOIN Sheet2 AS sh2 ON sh2.ID_P LIKE "*" & ox.ID_P;
如果我使用
SELECT ox.*, '+++++++++++' AS judo, sh2.*
FROM OXUS AS ox INNER JOIN Sheet2 AS sh2 ON sh2.ID_P=ox.ID_P;
立即打開。
使用通配符作爲第一部分的性能問題,如:http://stackoverflow.com/a/20538/1370425:實質上,它必須做一個完整的搜索沒有索引的好處 – SeanC 2012-08-13 21:17:33