Pages

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