首页 > 数据库技术 > 详细

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

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!