码迷,mamicode.com
首页 > 数据库 > 详细

Oracle EBS-SQL (SYS-1): sysadmin_用户职责查询.sql

时间:2014-06-09 16:58:45      阅读:316      评论:0      收藏:0      [点我收藏+]

标签:des   c   a   tar   art   cti   

select

   fu.user_name 用户名,

   fu.description 用户说明,

   frv.RESPONSIBILITY_NAME 职责名称,

   REQUEST_GROUP_NAME 报表组,

(select  ppf.FULL_NAME

   from apps.per_people_f  ppf

      where fu.employee_id = ppf.PERSON_ID

         and trunc(sysdate)  between  trunc(ppf.EFFECTIVE_START_DATE)

         and trunc(ppf.EFFECTIVE_END_DATE)) 人员

from applsys.FND_USER fu,

        apps.FND_USER_RESP_GROUPS_DIRECT  fur,

        apps.FND_RESPONSIBILITY_VL frv,

        apps.FND_REQUEST_GROUPS  frg    

where fu.user_id = fur.user_id and frv.RESPONSIBILITY_ID = fur.RESPONSIBILITY_ID

         and nvl(frv.END_DATE,sysdate) >= sysdate

         and nvl(fur.END_DATE,sysdate) >= sysdate

         and nvl(FU.END_DATE,sysdate)  >= sysdate

         and frv.REQUEST_GROUP_ID = frg.REQUEST_GROUP_ID(+)

         and (frv.RESPONSIBILITY_NAME like ‘10%‘ or frv.RESPONSIBILITY_NAME like ‘20%‘)

order by fu.user_name,

         frv.RESPONSIBILITY_NAME

 

Oracle EBS-SQL (SYS-1): sysadmin_用户职责查询.sql,布布扣,bubuko.com

Oracle EBS-SQL (SYS-1): sysadmin_用户职责查询.sql

标签:des   c   a   tar   art   cti   

原文地址:http://www.cnblogs.com/st-sun/p/3777493.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!