SCC_ETHGRP_VW(SQL View) |
Index Back |
---|---|
Ethnic group viewView created to select values for Ethnic Category - Hispani or Latino |
SELECT A.ETHNIC_GRP_CD ,A.EFFDT ,A.EFF_STATUS ,A.DESCR50 ,A.DESCRSHORT ,A.ETHNIC_CATEGORY ,A.ETHNIC_GROUP FROM PS_ETHNIC_GRP_TBL A WHERE (A.ETHNIC_GROUP = '3' OR A.ETHNIC_CATEGORY = '3') AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ETHNIC_GRP_TBL A1 WHERE A1.SETID = A.SETID AND A1.ETHNIC_GRP_CD = A.ETHNIC_GRP_CD AND A1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | ETHNIC_GRP_CD | Character(8) | VARCHAR2(8) NOT NULL | Ethnic group code |
2 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
3 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
4 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
5 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
6 | 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 |
7 | 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 |