GM_EMPLMT_SRCH(SQL View) |
Index Back |
---|---|
Grants Employment Data ViewSearch records used to locate all employees with job records. |
SELECT A.EMPLID ,C.EMPL_RCD ,A.EFFDT ,B.BIRTHDATE ,B.SEX ,%subrec(ADDRESS_SBR,A) ,%subrec(ADDR_OTR_SBR,A) ,A.MAR_STATUS ,A.SMOKER ,%subrec(NAMEGBL_SBR,A) ,A.ADDRESS1_AC ,A.ADDRESS2_AC ,A.ADDRESS3_AC ,C.BUSINESS_TITLE FROM PS_PERS_DATA_EFFDT A ,PS_PERSONAL_DATA B ,PS_EMPLOYMENT C WHERE A.EMPLID=B.EMPLID AND A.EMPLID=C.EMPLID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | BIRTHDATE | Date(10) | DATE | Date of Birth |
5 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown |
6 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
7 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
8 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
9 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
10 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
11 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
12 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
13 | NUM2 | Character(6) | VARCHAR2(6) NOT NULL | Number 2 |
14 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat WW=Trailer |
15 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
16 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
17 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
18 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
19 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
20 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
21 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
22 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit |
23 | COUNTRY_OTHER | Character(3) | VARCHAR2(3) NOT NULL |
Country field for ADDR_OTR_SBR and DERIVED_ADDR_OT
Prompt Table: COUNTRY_TBL |
24 | ADDRESS1_OTHER | Character(55) | VARCHAR2(55) NOT NULL | Address 1 Other |
25 | ADDRESS2_OTHER | Character(55) | VARCHAR2(55) NOT NULL | Address 2 Other |
26 | ADDRESS3_OTHER | Character(55) | VARCHAR2(55) NOT NULL | Address 3 Other |
27 | ADDRESS4_OTHER | Character(55) | VARCHAR2(55) NOT NULL | Address 4 Other |
28 | CITY_OTHER | Character(30) | VARCHAR2(30) NOT NULL | City Other |
29 | COUNTY_OTHER | Character(30) | VARCHAR2(30) NOT NULL | County Other |
30 | STATE_OTHER | Character(6) | VARCHAR2(6) NOT NULL |
State Other
Prompt Table: %EDIT_STATE_OTH |
31 | POSTAL_OTHER | Character(12) | VARCHAR2(12) NOT NULL | Postal Other |
32 | NUM1_OTHER | Character(6) | VARCHAR2(6) NOT NULL | Number 1 Other |
33 | NUM2_OTHER | Character(6) | VARCHAR2(6) NOT NULL | Number 2 Other |
34 | HOUSE_TYPE_OTHER | Character(2) | VARCHAR2(2) NOT NULL |
House Type Other
AB=House Boat Reference WW=House Trailer Reference |
35 | ADDR_FIELD1_OTHER | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 Other |
36 | ADDR_FIELD2_OTHER | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 Other |
37 | ADDR_FIELD3_OTHER | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 Other |
38 | IN_CITY_LMT_OTHER | Character(1) | VARCHAR2(1) NOT NULL | In City Limit Other |
39 | GEO_CODE_OTHER | Character(11) | VARCHAR2(11) NOT NULL | Geo Code Other |
40 | MAR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Marital Status
C=Common-Law D=Divorced E=Separated H=Head of Household M=Married S=Single U=Unknown W=Widowed |
41 | SMOKER | Character(1) | VARCHAR2(1) NOT NULL | Smoker |
42 | COUNTRY_NM_FORMAT | Character(3) | VARCHAR2(3) NOT NULL |
Format for Country
Prompt Table: COUNTRY_TBL |
43 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
44 | NAME_INITIALS | Character(6) | VARCHAR2(6) NOT NULL | Name Initials |
45 | NAME_PREFIX | Character(4) | VARCHAR2(4) NOT NULL |
Name Prefix
1=Mr. 2=Mrs. 3=Ms. Prompt Table: NAME_PREFIX_TBL |
46 | NAME_SUFFIX | Character(15) | VARCHAR2(15) NOT NULL |
Name Suffix
Prompt Table: NAME_SUFFIX_TBL |
47 | NAME_ROYAL_PREFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Royal Prefix |
48 | NAME_ROYAL_SUFFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Royal Suffix |
49 | NAME_TITLE | Character(30) | VARCHAR2(30) NOT NULL | Title |
50 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
51 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
52 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
53 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
54 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Middle Name |
55 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
56 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Name |
57 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
58 | PREF_FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
59 | ADDRESS1_AC | Character(55) | VARCHAR2(55) NOT NULL | Alternate Character Address 1 |
60 | ADDRESS2_AC | Character(55) | VARCHAR2(55) NOT NULL | Alternate Character Address 2 |
61 | ADDRESS3_AC | Character(55) | VARCHAR2(55) NOT NULL | Alternate Character Address 3 |
62 | BUSINESS_TITLE | Character(30) | VARCHAR2(30) NOT NULL | Business Title |