oracle ebs 通过职责查找用户

  SELECT DISTINCT papf.person_id,
                      papf.employee_number,
                      papf.full_name,
                      su.user_id,
                      res.responsibility_id,
                      res.application_id,
                      su.user_name,
                      res.responsibility_name                     
        FROM hr.per_all_people_f      papf,
             applsys.fnd_user         su,
             fnd_responsibility_vl    res,
             fnd_user_resp_groups_all furg,
             fnd_application_vl       app
       WHERE
          su.employee_id = Papf.person_Id(+)
          AND su.user_id = furg.user_id
         AND res.responsibility_id = furg.responsibility_id
         AND res.application_id = furg.responsibility_application_id
         AND furg.responsibility_application_id = app.application_Id
         And res.responsibility_name  Like ‘%responsibility_name%‘ ;

本文出自 “joyous blog” 博客,请务必保留此出处http://joyous.blog.51cto.com/9184276/1440969

oracle ebs 通过职责查找用户

上一篇:mysql触发器的作用及语法


下一篇:数据库SQL优化大总结之 百万级数据库优化方案