Friday, November 2, 2018

Concurrent Program session details along with SQL Query

Concurrent Program session details along with SQL Query

Concurrent Program session details along with SQL Query
SELECT sqlt.sql_text,
  sess.sid,
  sess.serial#,
  fcr.requested_start_date
FROM fnd_concurrent_requests fcr ,
  V$SQLTEXT sqlt ,
  v$session sess
WHERE fcr.request_id      = :pRequestID
AND fcr.phase_code        = 'R'
AND fcr.status_code       = 'R'
AND fcr.oracle_session_id = sess.audsid (+)
AND sqlt.address          = sess.sql_address
ORDER BY sqlt.piece;

No comments:

Post a Comment

SQL Important Queries

  How to delete rows with no where clause The following example deletes  all rows  from the  Person.Person  the table in the AdventureWork...