Retrieve conc request id and database sid from os pid with the following query

on Thursday, 25 April 2013


Retrieve conc request id and database sid from os pid with the following query






select request_id, p.spid,s.* from apps.fnd_concurrent_requests r , v$process p , v$session s
where r.request_id =
(select request_id from fnd_concurrent_requests fcr
where fcr.oracle_process_id=&OS_PID
and trunc(fcr.request_date)=trunc(sysdate))
and p.SPID = r.ORACLE_PROCESS_ID
and p.ADDR = s.PADDR;




You are welcome to leave a comment....

0 comments:

Post a Comment