EMPLEE_NAME_VW(SQL View) |
Index Back |
---|---|
Employee NameEMPLEE_NAME_VW is a view of the Employment and Organization Assignment record, which gives information on emplid and name. |
SELECT DISTINCT A.EMPLID , A.NAME FROM PS_NAMES A WHERE A.NAME_TYPE = 'PRI' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_NAMES B WHERE B.EMPLID = A.EMPLID AND B.NAME_TYPE = A.NAME_TYPE) AND EXISTS ( SELECT C.EMPLID FROM PS_PER_ORG_ASGN C WHERE C.EMPLID = A.EMPLID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |