I20_EMPLID_VW1(SQL View) |
Index Back |
---|---|
I20 ViewView to find students under a School Code. |
SELECT X.OPRCLASS , A.SEV_SCHOOL_CD , A.EMPLID , A.EFFDT , B.SEV_ID , X.NAME , X.SEX , X.BIRTHDATE , X.BIRTHDATE_MSK , X.CAMPUS_ID , Y.NATIONAL_ID , Y.NATIONAL_ID_MSK , Y.COUNTRY , Y.NATIONAL_ID_TYPE , Y.NID_DESCRSHORT , X.LAST_NAME_SRCH , X.FIRST_NAME_SRCH FROM PS_I20_FORM A , PS_SEV_ID_MAINT B , PS_PEOPLE_SRCH X , PS_PERS_NID_MSK_VW Y WHERE X.OPRCLASS = Y.OPRCLASS AND A.EMPLID = B.EMPLID AND B.EMPLID = X.EMPLID AND X.EMPLID = Y.EMPLID AND A.SEV_SCHOOL_CD = B.SEV_SCHOOL_CD AND B.SEV_PRG_NBR = ' ' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_SEV_ID_MAINT B1 WHERE B1.EMPLID = B.EMPLID AND B1.SEV_SCHOOL_CD = B.SEV_SCHOOL_CD AND B1.SEV_PRG_NBR = B.SEV_PRG_NBR AND B1.EFFDT >= A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
2 | SEV_SCHOOL_CD | Character(15) | VARCHAR2(15) NOT NULL |
SEVIS School Code
Prompt Table: SEV_SCHL_CD_TBL |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
4 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
5 | SEV_ID | Character(11) | VARCHAR2(11) NOT NULL | SEVIS ID |
6 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
7 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown X=Indeterminate/Intersex/Unspec |
8 | BIRTHDATE | Date(10) | DATE | Date of Birth |
9 | BIRTHDATE_MSK | Character(10) | VARCHAR2(10) NOT NULL | Date of Birth |
10 | CAMPUS_ID | Character(16) | VARCHAR2(16) NOT NULL | Campus ID |
11 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
12 | NATIONAL_ID_MSK | Character(20) | VARCHAR2(20) NOT NULL | National ID |
13 | NID_COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | National ID Country |
14 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL | National ID Type |
15 | NID_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | NID Short Description |
16 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
17 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |