Pages

OracleEBSpro is purely for knowledge sharing and learning purpose, with the main focus on Oracle E-Business Suite Product and other related Oracle Technologies.

I'm NOT responsible for any damages in whatever form caused by the usage of the content of this blog.

I share my Oracle knowledge through this blog. All my posts in this blog are based on my experience, reading oracle websites, books, forums and other blogs. I invite people to read and suggest ways to improve this blog.


Wednesday, March 6, 2013

SQL query to find Session ID from Request ID


SELECT a.request_id,
       d.sid        as Oracle_SID,
       d.serial#,
       d.osuser,
       d.process,
       c.SPID       as OS_Process_ID
  FROM apps.fnd_concurrent_requests  a,
       apps.fnd_concurrent_processes b,
       gv$process                    c,
       gv$session                    d
 WHERE a.controlling_manager = b.concurrent_process_id
   AND c.pid = b.oracle_process_id
   AND b.session_id = d.audsid
      --AND d.sid = &SID;
   AND a.request_id =&request_id;

1 comment:

  1. ayam bangkok bertarung Info selengkapnya hubungi customer service : BBM: BOLAVITA WeChat: BOLAVITA WA: +6281377055002 Line : cs_bolavita Live Chat : www.bolavita,pw

    ReplyDelete