PERS_REL_VW(SQL View) |
Index Back |
---|
SELECT A.EMPLID , B.SEX , A.NAME , A.NAME_PREFIX , A.NAME_SUFFIX , B.MAR_STATUS FROM PS_SCC_PRI_NAME_VW A , PS_HCR_PER_PDE_I B WHERE A.EMPLID = B.EMPLID AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_SCC_PRI_NAME_VW A1 WHERE A1.EMPLID=A.EMPLID) AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_HCR_PER_PDE_I B1 WHERE B1.EMPLID=B.EMPLID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID_RELATED | Character(11) | VARCHAR2(11) NOT NULL | Related People ID |
2 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown X=Indeterminate/Intersex/Unspec |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | NAME_PREFIX | Character(4) | VARCHAR2(4) NOT NULL | Name Prefix |
5 | NAME_SUFFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Suffix |
6 | MAR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Marital Status
C=Common-Law D=Divorced E=Separated H=Head of Household L=DissDeclLost Civil Partner M=Married P=Civil Partnership S=Single T=Surviving Civil Partner U=Unknown V=Dissolved Civil Partnership W=Widowed |