set autotrace on 的错误?
set trace on 时,出现如下错误:
SQL> set autotrace on
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
但我已经在sys用户下使用$ORACLE_HOME\sqlplus\admin\plustrce.sql建立了plustrace角色,并且授权给了用户了。plan_table也建了。也重新连接了,但就是不是,谁知道问题出在哪儿?
Thanks in advance.