EBS请求查找运行详细信息
2015-10-11 20:10
155 查看
--查找运行请求时间,参数等(可以是某用户的,某个报表)
select c.user_name,
papf.full_name,
b.user_concurrent_program_name,
a.request_date,
a.argument_text,
(a.actual_completion_date - a.actual_start_date) * 24 * 60 minutes,
a.actual_start_date,
a.actual_completion_date,
a.request_id,
a.outfile_name
from fnd_concurrent_requests a,
fnd_concurrent_programs_vl b,
fnd_user c,
per_all_people_f papf
where a.concurrent_program_id = b.concurrent_program_id
and a.requested_by = c.user_id
and c.user_name = papf.employee_number(+)
and a.actual_completion_date is not null
and b.user_concurrent_program_name = '你的程序名称' --- like '%XXX%'
and c.user_name = ' 你要找的用户的'
and a.request_date <=
to_date('2005-03-01 23:59:59', 'yyyy-mm-dd hh24:mi:ss')
and a.request_date >=
to_date('2005-03-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss')
and a.request_id > 2254198 ---为了提高速度,选一个合适时间点的ID
select c.user_name,
papf.full_name,
b.user_concurrent_program_name,
a.request_date,
a.argument_text,
(a.actual_completion_date - a.actual_start_date) * 24 * 60 minutes,
a.actual_start_date,
a.actual_completion_date,
a.request_id,
a.outfile_name
from fnd_concurrent_requests a,
fnd_concurrent_programs_vl b,
fnd_user c,
per_all_people_f papf
where a.concurrent_program_id = b.concurrent_program_id
and a.requested_by = c.user_id
and c.user_name = papf.employee_number(+)
and a.actual_completion_date is not null
and b.user_concurrent_program_name = '你的程序名称' --- like '%XXX%'
and c.user_name = ' 你要找的用户的'
and a.request_date <=
to_date('2005-03-01 23:59:59', 'yyyy-mm-dd hh24:mi:ss')
and a.request_date >=
to_date('2005-03-01 00:00:00', 'yyyy-mm-dd hh24:mi:ss')
and a.request_id > 2254198 ---为了提高速度,选一个合适时间点的ID
相关文章推荐
- tsp问题
- 《Linux内核设计与实现》读书笔记(九)- 内核同步介绍
- hdu--114
- VS2013将新建的源码文件的编码格式自动设置成UTF8
- thinkphp-上传视频操作
- 13、Hibernate的二级缓存
- 黑马程序员—多线程线程间的通信与同步新特性
- struts2的OGNL表达式(二)
- 关于文本挖掘系统snowball
- 2016年美团校园招聘数据开发工程师笔试编程题
- c入门整人小程序
- 【Python】Learn Python the hard way, ex26 修改代码错误
- 详解Tomact中的web.xml
- CamanJS 学习笔记
- PHP实现二分查找(递归与非递归)
- [摘要]Effective Objective-C 2.0(一)
- Android~外部类监听器~实现Activity的跳转
- 排序算法自我练习(四)——归并算法
- 资本助力转型 TCL攻守转换(转型、并购、过冬前一定要保留强大的战略预备队)
- 在php 中使用mail函数