/*+ INDEX ( table [index [index]...] ) */我們簡單看一下這個提示的用法(范例為Oracle10g數據庫):SQL> create table t as select username,passWord from dba_users;Table created.SQL> create index i_t on t(username);Index created.SQL> set autotrace trace eXPlainSQL> select /*+ index(t i_t) */ * from t where username='EYGLE';Execution Plan
新聞熱點
疑難解答