我用Explain plan for 得到的Options是 Full table scan,但我觉得好像 用Explain plan for 得到的结果不准确 因为 explain plan for select * from a where a.ind like 'sa%'; 得到的Execute plan也是Full table scan,但是我是在a.ind上建立了索引,而且速度也比为检索引前要快,不知道为什么 而且我用set autotrace on会出现以下错误,为什么? SQL> set autotrace on ERROR: ORA-00904: invalid column nameSP2-0611: Error enabling EXPLAIN report
用Explain plan for 得到的结果不准确
因为
explain plan for
select * from a where a.ind like 'sa%';
得到的Execute plan也是Full table scan,但是我是在a.ind上建立了索引,而且速度也比为检索引前要快,不知道为什么
而且我用set autotrace on会出现以下错误,为什么?
SQL> set autotrace on
ERROR:
ORA-00904: invalid column nameSP2-0611: Error enabling EXPLAIN report