views:

134

answers:

3

I need to know which stored procedures are running. It's not an option to "mark" the stored procedures changing their source.

Thank you very much.

A: 

This may be similar to another post.

http://stackoverflow.com/questions/250792/how-do-i-log-trace-oracle-stored-procedure-calls-with-parameter-values

Aethyrial
Is not an option to modify the source code of the procedures...
german1981
+1  A: 

Not sure about doing that for the entire database, but did you try using DBMS_TRACE?

http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_trace.htm#CACEIHAH

Pop
+2  A: 

This blogpost of mine tells you all about it: http://rwijk.blogspot.com/2008/11/executingpackagessql.html

Regards, Rob.

Rob van Wijk
+1... nice - I hadn't considered the v$session plsql_entry_object_id and plsql_entry_subprogram_id limitations that you discuss
dpbradley