You are on page 1of 1

SELECT COUNT (1)

, (SELECT user_name
FROM fnd_user
WHERE user_id = requested_by) user_name
,argument_text
,fcr.concurrent_program_id
,user_concurrent_program_name
,fcr.description
,TO_CHAR (requested_start_date, 'DD-Mon-YYYY HH24:MI') start_date
,NVL (org_id, 1) org_id
, (RTRIM (XMLAGG (XMLELEMENT (e, fcr.request_id || CHR (44))).EXTRACT
('//text()'), ',')) request_id
FROM fnd_concurrent_requests fcr
,fnd_concurrent_programs_tl fcp
WHERE 1 = 1
AND fcr.concurrent_program_id = fcp.concurrent_program_id
AND phase_code = 'P'
--and user_concurrent_program_name like '%'
AND fcr.description LIKE '%'
GROUP BY argument_text
,fcr.concurrent_program_id
,TO_CHAR (requested_start_date, 'DD-Mon-YYYY HH24:MI')
,user_concurrent_program_name
,fcr.description
,NVL (org_id, 1)
,requested_by

You might also like