PERSON_NMLNG(SQL View) |
Index Back |
---|---|
Person's Primary NameThis view retrieves the current, the future and pending approval effective names record for primary name. |
SELECT A.EMPLID , A.NAME_TYPE , A.LANGUAGE_CD , A.EFFDT , %subrec(NAME_SBR_LNG, A) , A.NAME FROM PS_NAMES_LNG A |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
6 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
7 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
8 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
9 | NAME_INITIALS | Character(6) | VARCHAR2(6) NOT NULL | Name Initials |
10 | PARTNER_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | The Partner Last Name is being used by the Netherlands for the employee name formatting, where a person can choose to use the partners last name as their prefered last name. |
11 | PREF_FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
12 | PREF_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Last Name |
13 | PREF_MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Middle Name |
14 | PREF_SEC_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Second Last Name |
15 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
16 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
17 | NAME_FORMAL | Character(60) | VARCHAR2(60) NOT NULL | Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence. |
18 | NAME_FORMAL_PSF | Character(60) | VARCHAR2(60) NOT NULL | Preferred Name (PS FORMAT) |
19 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
20 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
21 | MIDDLE_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Middle Name uppercase search field |
22 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
23 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
24 | PARTN_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of partner last name to improve performance on searches. |
25 | PREF_FIRST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
26 | PREF_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred last name to improve performance on searches. |
27 | PREF_MIDL_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred middle name to improve performance on searches. |
28 | PREF_LAST_SEC_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred second last name to improve performance on searches. |
29 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
30 | NAME_FORMAL_SRCH | Character(60) | VARCHAR2(60) NOT NULL | Uppercase version of formal name to improve performance on searches. |
31 | NAME_PSFORMAT | Character(50) | VARCHAR2(50) NOT NULL | A Person's name in the Peoplesoft Format (basically LN,FN MI |