ST_PERSON_NAME(SQL View) |
Index Back |
---|---|
Names viewView to display current names on stock reports in last, first middle name order. |
SELECT A.EMPLID , A.NAME_TYPE , A.NAME , A.LAST_NAME , A.FIRST_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 B.EFFDT <= %CurrentDateIn ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | NAME_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Type of Name |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
5 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |