/*+ 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
新闻热点
疑难解答