NAME_CURR_VWL(SQL View) |
Index Back |
---|---|
Rel lang for NAME_CURR_VWRelated language record for the NAME_CURR_VW view. |
SELECT A.EMPLID , A.NAME_TYPE , A.LANGUAGE_CD , %Sql(NAME_SBR_LNG,A) FROM PS_NAMES_LNG A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_NAMES_LNG B WHERE A.EMPLID = B.EMPLID AND A.NAME_TYPE = B.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 |
2 | NAME_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Type of Name
Prompt Table: NAME_TYPE_TBL |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
5 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
6 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
7 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
8 | NAME_INITIALS | Character(6) | VARCHAR2(6) NOT NULL | Name Initials |
9 | 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. |
10 | PREF_FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
11 | PREF_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Last Name |
12 | PREF_MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Middle Name |
13 | PREF_SEC_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Second Last Name |
14 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
15 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
16 | NAME_FORMAL | Character(60) | VARCHAR2(60) NOT NULL | Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence. |
17 | NAME_FORMAL_PSF | Character(60) | VARCHAR2(60) NOT NULL | Preferred Name (PS FORMAT) |
18 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
19 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
20 | MIDDLE_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Middle Name uppercase search field |
21 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
22 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
23 | PARTN_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of partner last name to improve performance on searches. |
24 | PREF_FIRST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
25 | PREF_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred last name to improve performance on searches. |
26 | PREF_MIDL_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred middle name to improve performance on searches. |
27 | PREF_LAST_SEC_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred second last name to improve performance on searches. |
28 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
29 | NAME_FORMAL_SRCH | Character(60) | VARCHAR2(60) NOT NULL | Uppercase version of formal name to improve performance on searches. |