Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

plsql_trace_events

francy77Jul 23 2012 — edited Jul 23 2012
Hi,

under sys I've runned the script tracetab.sql, which has creted the two tables : PLSQL_TRACE_EVENTS and PLSQL_TRACE_RUNS.

after that i grant the necessary privileges (under sys):
GRANT DELETE, INSERT, SELECT ON SYS.PLSQL_TRACE_EVENTS TO HR;

GRANT DELETE, INSERT, SELECT ON SYS.PLSQL_TRACE_RUNS TO HR;
So, now i connect with HR to the same database and run the following:
select * from PLSQL_TRACE_EVENTS
wich give me:
ORA-00942: table or view does not exist

and
select * from PLSQL_TRACE_RUNS
which give me:
ORA-00942: table or view does not exist




while if i run the trace with the pl/sql developer, it works right, can some one tell me why?


thanks
Francesco
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2012
Added on Jul 23 2012
5 comments
1,675 views