DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Which Session executes the Procedure

  1. #1
    Join Date
    Aug 2002
    Posts
    176

    Which Session executes the Procedure

    Hi all ,

    How do we find which sid is executing a particular procedure ??

    Thanks
    Success Consists of Getting Up Just One More Time Than You've Fallen Down
    Be Blessed

  2. #2
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Use dbms_application_info.set_module in your package/procedure to set the module and action .
    You can query v$session (module and action).

    HTH
    Sanjay G.
    Oracle Certified Professional 8i, 9i.

    "The degree of normality in a database is inversely proportional to that of its DBA"

  3. #3
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    you can guess using v$access and v$open_cursors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width