Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: identifier 'DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION' must be dec
Bob,
It can only be one of two things:
Try EXECUTE SYS.DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION (9, 89, TRUE)
or
connect as SYS and "grant execute on DBMS_SYSTEM to your_Oracle_account" and try it again.
Hope this helps
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Thursday, October 03, 2002 2:19 PM
To: Multiple recipients of list ORACLE-L
declared
All Im trying to run the following statement
EXECUTE DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION (9, 89, TRUE) And get the following error
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION' must be
declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Looking under SYS schema I have package and package body for DBMS_SYSTEM
and the body includes
SET_SQL_TRACE_IN_SESSION
I had to turn on tracing on the database level...
What could be the matter with this??
Many Thanks in advance
bob
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Bob Metelsky
INET: bmetelsky_at_cps92.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Oct 03 2002 - 14:04:34 CDT