AM_MY_DEPT_VW

(SQL View)
Index Back

SELECT B.EMPLID , a.deptid , a.descr , a.manager_name FROM PS_DEPT_TBL a , PS_PERSONAL_DATA B WHERE a.effdt = ( SELECT MAX(b.effdt) FROM PS_DEPT_TBL b WHERE a.setid = b.setid AND a.deptid = b.deptid) AND A.MANAGER_NAME = B.NAME

  • Related Language Record: AM_MYDPT_LAN_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 MANAGER_NAME Character(30) VARCHAR2(30) NOT NULL Identifies the name of the manager of a specified department.