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

EBS 职责关联用户 SQL

时间:2018-08-16 13:50:19      阅读:200      评论:0      收藏:0      [点我收藏+]

标签:where   HERE   sql   rom   star   bsp   div   color   用户名   

  SELECT s.user_name         用户名
       , p.full_name         人员
       , v.responsibility_name 职责名
       , u.end_date          用户失效日期
    FROM apps.fnd_user_resp_groups_all u
       , apps.fnd_responsibility_vl    v
       , apps.fnd_user                   s
       , apps.per_all_people_f           p
       , apps.per_all_assignments_f    a
       , apps.hr_all_organization_units h
   WHERE     v.responsibility_id(+) = u.responsibility_id
         AND s.user_id = u.user_id(+)
         AND s.employee_id = p.person_id(+)
         --AND s.end_date IS NULL
         --AND u.END_DATE IS NULL
         --and p.effective_end_date > SYSDATE
         --AND SYSDATE BETWEEN a.effective_start_date AND a.effective_end_date
         AND s.user_name = ZHAORONG
         AND p.person_id = a.person_id(+)
         AND a.organization_id = h.organization_id(+)
ORDER BY 1

 

EBS 职责关联用户 SQL

标签:where   HERE   sql   rom   star   bsp   div   color   用户名   

原文地址:https://www.cnblogs.com/fjzsl/p/9486252.html

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