PRIM_EMPL_SRCHL(SQL View) |
Index Back |
---|---|
Rel Lang for PRIM_EMPL_SRCHRelated language record for PRIM_EMPL_SRCH view. |
SELECT A.EMPLID , A.LANGUAGE_CD , A.NAME_DISPLAY , A.NAME_DISPLAY_SRCH , A.NAME , A.LAST_NAME_SRCH , A.SECOND_LAST_SRCH , A.FIRST_NAME , A.LAST_NAME , A.SECOND_LAST_NAME , A.NAME_AC , A.MIDDLE_NAME , A.NAME_DISPLAY , A.NAME_AC FROM PS_NAMES_LNG A WHERE A.NAME_TYPE = 'PRI' AND A.EFFDT = ( SELECT MAX(AA.EFFDT) FROM PS_NAMES_LNG AA WHERE AA.EMPLID = A.EMPLID AND AA.NAME_TYPE = A.NAME_TYPE AND AA.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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
5 | NAME_PSFORMAT | Character(50) | VARCHAR2(50) NOT NULL | A Person's name in the Peoplesoft Format (basically LN,FN MI |
6 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
7 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
8 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
9 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
10 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
11 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
12 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
13 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
14 | NAME_AC_SEC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |