hint(这里特指/*+index(table,index_name)*/ )
是否仅仅只能用在select语句中,存储过程中的
cursor中好像指定index hint不起作用,
如 :
cursor c1 is select /*+index(t1,t1_PK)*/
from t1 where ....;
我在trace文件中查看该sql并没有使用指定的index请高手指点,多谢!
是否仅仅只能用在select语句中,存储过程中的
cursor中好像指定index hint不起作用,
如 :
cursor c1 is select /*+index(t1,t1_PK)*/
from t1 where ....;
我在trace文件中查看该sql并没有使用指定的index请高手指点,多谢!
/* +(table_name,index_name)*/