PI_DIVERS_ETH(SQL View) |
Index Back |
---|---|
Ethnic DiversityThis is a view record that holds details of an employee's ethnic background. |
SELECT A.EMPLID ,A.REG_REGION ,A.ETHNIC_GRP_CD ,B.DESCR50 ,B.ETHNIC_CATEGORY ,B.ETHNIC_GROUP FROM PS_DIVERS_ETHNIC A , PS_ETHNIC_GRP_TBL B WHERE A.PRIMARY_INDICATOR='Y' AND A.SETID = B.SETID AND A.ETHNIC_GRP_CD = B.ETHNIC_GRP_CD AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_ETHNIC_GRP_TBL B1 WHERE B1.SETID = B.SETID AND B1.ETHNIC_GRP_CD = B.ETHNIC_GRP_CD AND B1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | REG_REGION | Character(5) | VARCHAR2(5) NOT NULL | Regulatory Region |
3 | ETHNIC_GRP_CD | Character(8) | VARCHAR2(8) NOT NULL | Ethnic group code |
4 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
5 | ETHNIC_CATEGORY | Character(1) | VARCHAR2(1) NOT NULL |
Ethnic Category
1=White 2=Black 3=Hispanic 4=Asian/Pacific Islander 5=American Indian/Alaskan Native 6=Not Applicable 7=Chinese 9=Indian A=Aboriginal/Torres Strait Islnd B=Aboriginal Origin C=Torres Strait Islander Origin E=Eurasian I=Irianese M=Malay O=Maori P=Pacific Islander |
6 | ETHNIC_GROUP | Character(1) | VARCHAR2(1) NOT NULL |
Ethnic Group
1=White 2=Black/African American 3=Hispanic/Latino 4=Asian 5=American Indian/Alaska Native 6=Not Specified 7=Native Hawaiian/Oth Pac Island A=American Indian/Alaskan Native B=Asian or Pacific Islander C=Black, not of Hispanic origin D=Hispanic E=White, not of Hispanic origin F=Asian Indian G=Chinese H=Filipino J=Guamanian K=Hawaiian L=Japanese M=Korean N=Samoan P=Vietnamese Q=All Other Asian o Pacific Is Y=Not Hispanic in Puerto Rico |