函数索引是在8i中才引入的
只要加上query rewrite权限就可以创建基于函数的索引,不一定非要用system

解决方案 »

  1.   

    是不行:(我们的是8.0.6,SOLARIS的)
    [email protected]> r
      1* create unique index idx_ttest on ttest(emp_name,substr(address,1,4))
    create unique index idx_ttest on ttest(emp_name,substr(address,1,4))
                                                          *
    ERROR at line 1:
    ORA-00907: missing right parenthesis