HCR_ADD_JOB_LNG(SQL View) |
Index Back |
---|---|
Add Org Search LanguageAdd org relationship language search record |
SELECT B.EMPLID ,B.LANGUAGE_CD ,B.NAME ,B.LAST_NAME_SRCH ,B.SECOND_LAST_NAME ,B.PREF_FIRST_NAME FROM PS_NAMES_LNG B WHERE B.NAME_TYPE = 'PRI' AND B.EFFDT = ( SELECT MAX(AA.EFFDT) FROM PS_NAMES_LNG AA WHERE AA.EMPLID = B.EMPLID AND AA.NAME_TYPE = B.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_NAME |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
5 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
6 | PREFERRED_NAME | Character(50) | VARCHAR2(50) NOT NULL | Preferred Name |