SSR_BR_EXVW_NLD(SQL View) |
Index Back |
---|---|
Enrollment current view 3/* bug 35484122 - added ADM_APPL_NBR/APPL_PROG_NBR in criteria */ |
SELECT ES.INSTITUTION , ES.SCC_BRINCD_NLD , ES.EMPLID , ES.SSR_BR_ENRL_SQ_NLD , ST.SSR_BR_EXS_ST_DT ,CASE WHEN EN.SSR_BR_ENR_END_DT IS NOT NULL AND (ST.SSR_BR_EXS_END_DT IS NULL OR ST.SSR_BR_EXS_END_DT > EN.SSR_BR_ENR_END_DT) THEN EN.SSR_BR_ENR_END_DT ELSE ST.SSR_BR_EXS_END_DT END AS SSR_BR_EXS_END_DT , ES.ACAD_CAREER , ES.STDNT_CAR_NBR FROM PS_SSR_BR_ENRVWNLD ES , PS_SSR_BR_STES_NLD ST , PS_SSR_BR_ENVW_NLD EN WHERE ST.EMPLID =ES.EMPLID AND ST.ACAD_CAREER = ES.ACAD_CAREER AND ST.STDNT_CAR_NBR = ES.STDNT_CAR_NBR AND ST.INSTITUTION = ES.INSTITUTION AND ES.EMPLID= EN.EMPLID AND ES.ACAD_CAREER = EN.ACAD_CAREER AND ES.STDNT_CAR_NBR = EN.STDNT_CAR_NBR AND ES.INSTITUTION = EN.INSTITUTION AND EN.SSR_BR_ENR_END_DT IS NOT NULL AND EN.SSR_BR_ENR_END_DT >= ST.SSR_BR_EXS_ST_DT AND EXISTS ( SELECT 'X' FROM PS_ACAD_PROG AP WHERE AP.EMPLID = ST.EMPLID AND AP.ACAD_CAREER = ST.ACAD_CAREER AND AP.STDNT_CAR_NBR = ST.STDNT_CAR_NBR AND AP.ADM_APPL_NBR = ST.ADM_APPL_NBR AND AP.APPL_PROG_NBR = ST.APPL_PROG_NBR) UNION SELECT ES.INSTITUTION , ES.SCC_BRINCD_NLD , ES.EMPLID , ES.SSR_BR_ENRL_SQ_NLD , ST.SSR_BR_EXS_ST_DT , ST.SSR_BR_EXS_END_DT , ES.ACAD_CAREER , ES.STDNT_CAR_NBR FROM PS_SSR_BR_ENRVWNLD ES , PS_SSR_BR_STES_NLD ST , PS_SSR_BR_ENVW_NLD EN WHERE ST.EMPLID =ES.EMPLID AND ST.ACAD_CAREER = ES.ACAD_CAREER AND ST.STDNT_CAR_NBR = ES.STDNT_CAR_NBR AND ST.INSTITUTION = ES.INSTITUTION AND ES.EMPLID= EN.EMPLID AND ES.ACAD_CAREER = EN.ACAD_CAREER AND ES.STDNT_CAR_NBR = EN.STDNT_CAR_NBR AND ES.INSTITUTION = EN.INSTITUTION AND EN.SSR_BR_ENR_END_DT IS NULL AND EXISTS ( SELECT 'X' FROM PS_ACAD_PROG AP WHERE AP.EMPLID = ST.EMPLID AND AP.ACAD_CAREER = ST.ACAD_CAREER AND AP.STDNT_CAR_NBR = ST.STDNT_CAR_NBR AND AP.ADM_APPL_NBR = ST.ADM_APPL_NBR AND AP.APPL_PROG_NBR = ST.APPL_PROG_NBR) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | SCC_BRINCD_NLD | Character(4) | VARCHAR2(4) NOT NULL | BRINcode |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | SSR_BR_ENRL_SQ_NLD | Character(20) | VARCHAR2(20) NOT NULL | 2020-04-15 bug 31180485 - enlarged enrollment seq nbr |
5 | SSR_BR_EXS_ST_DT | Date(10) | DATE NOT NULL | Start Date |
6 | SSR_BR_EXS_END_DT | Date(10) | DATE | End Date |
7 | ACAD_CAREER | Character(4) | VARCHAR2(4) NOT NULL |
Academic Career
BAC=Bachelor (NLD) BBL=Vocational Coaching (NLD) BOL=Vocational Training (NLD) BUSN=Graduate Business CNED=Continuing Education CRED=Semester Credit EDU=Education (NLD) EXED=Extended Education GRAD=Graduate LAW=Law MEDS=Medical School NONA=Non Award PGRD=Postgraduate RSCH=Research TECH=Technical UENG=Undergraduate Engineering UGRD=Undergraduate VAVO=Advanced General Educ. (NLD) VETM=Veterinary Medicine |
8 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |