Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

****************I am authoring a Book on Oracle Database Cloud Services.......More details to follow.***************

Title : Oracle Database Cloud Revealed
Publisher : Apress
Release Date : June-2018


Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]

I am certified Oracle Cloud Architect:
Oracle Cloud Infrastructure 2018 Certified Architect Associate
Oracle Cloud Infrastructure Classic 2018 Certified Architect Associate

Search This Blog

Wednesday, September 21, 2011

Concurrent program run times

SELECT v.REQUEST_ID,to_char(v.ACTUAL_START_DATE,'dd-mm-yy hh24:mi:ss') "Started at",to_char(v.ACTUAL_COMPLETION_DATE,'dd-mm-yy hh24:mi:ss') "Completed at",
decode(v.PHASE_CODE,'C','Completed','I','Inactive','P','Pending','R','Running',v.PHASE_CODE) phasecode,
decode(v.STATUS_CODE, 'A','Waiting', 'B','Resuming', 'C','Normal', 'D','Cancelled', 'E','Error', 'F','Scheduled', 'G','Warning', 'H','On Hold', 'I','Normal', 'M','No Manager',
'Q','Standby', 'R','Normal', 'S','Suspended', 'T','Terminating', 'U','Disabled', 'W','Paused', 'X','Terminated', 'Z','Waiting') "Status",
round(((nvl(v.actual_completion_date,sysdate)-v.actual_start_date)*24*60)) Etime, substr(v.argument_text,1,45) param
FROM apps.fnd_conc_req_summary_v v
WHERE nvl(v.actual_start_date,sysdate) >= (sysdate- 10 ) <=== change this as needed
and v.user_concurrent_program_name like 'XXTWC: Nightly Calcuation for Prior Period'
order by request_id desc ;

No comments: