SAD_BR_M323_NLD(SQL View) |
Index Back |
---|
SELECT ES.INSTITUTION , ES.SCC_BRINCD_NLD , ES.SAD_BR_EDU_SEC_NLD , ES.EMPLID , ES.SAD_BR_ENRL_SQ_NLD , APT.HEGIS_CODE , AP.EFFDT , SP.SSR_FUNDING_CD_NLD , ES.ACAD_CAREER , ES.STDNT_CAR_NBR FROM PS_SAD_BR_ENRSQNLD ES JOIN PS_ACAD_PROG AP ON ES.INSTITUTION = AP.INSTITUTION AND ES.EMPLID = AP.EMPLID AND ES.ACAD_CAREER =AP.ACAD_CAREER AND ES.STDNT_CAR_NBR = AP.STDNT_CAR_NBR JOIN PS_ACAD_PROG_TBL APT ON AP.ACAD_PROG = APT.ACAD_PROG JOIN PS_SSR_STD_PRG_NLD SP ON AP.EMPLID = SP.EMPLID AND SP.SSR_PRG_ACTION_NLD IN (%Sql(SAD_BR_SETUP_LNV_PRG_ACT_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD, ES.SAD_BR_EDU_SEC_NLD, SP.EFFDT)) AND AP.ACAD_CAREER = SP.ACAD_CAREER AND AP.STDNT_CAR_NBR = SP.STDNT_CAR_NBR AND AP.EFFDT = SP.EFFDT AND AP.EFFSEQ = SP.EFFSEQ JOIN PS_SAD_BR_BO_NLD INST ON INST.INSTITUTION = ES.INSTITUTION AND INST.SCC_BRINCD_NLD = ES.SCC_BRINCD_NLD AND INST.SAD_BR_QUA_RET_NLD = 'A' WHERE AP.ACAD_PROG NOT IN (%Sql(SAD_BR_GET_ACPR_NOT_SEND_SQL, ES.INSTITUTION, ES.SCC_BRINCD_NLD, ES.SAD_BR_EDU_SEC_NLD)) AND APT.EFFDT = ( SELECT MAX(APT_ED.EFFDT) FROM PS_ACAD_PROG_TBL APT_ED WHERE APT_ED.ACAD_PROG = APT.ACAD_PROG AND APT_ED.EFFDT <= AP.EFFDT) AND INST.EFFDT = ( SELECT MAX(INST_ED.EFFDT) FROM PS_SAD_BR_BO_NLD INST_ED WHERE INST.INSTITUTION = INST_ED.INSTITUTION AND INST.SCC_BRINCD_NLD = INST_ED.SCC_BRINCD_NLD AND INST_ED.EFFDT <= AP.EFFDT) UNION ALL SELECT ES.INSTITUTION , ES.SCC_BRINCD_NLD , ES.SAD_BR_EDU_SEC_NLD , ES.EMPLID , ES.SAD_BR_ENRL_SQ_NLD , CAT.HEGIS_CODE , AP.SAD_BR_DIPL_DT_NLD , AP.SAD_BR_FUNDING_NLD , ES.ACAD_CAREER , ES.STDNT_CAR_NBR FROM PS_SAD_BR_ENRSQNLD ES JOIN PS_SSR_STPRGAP_NLD AP ON ES.EMPLID = AP.EMPLID AND ES.ACAD_CAREER =AP.ACAD_CAREER AND ES.STDNT_CAR_NBR = AP.STDNT_CAR_NBR JOIN PS_SSR_REQUIS_NLD REQ ON AP.SSR_REQ_ID_NLD = REQ.SSR_REQ_ID_NLD JOIN PSTREENODE TD ON REQ.TREE_NAME = TD.TREE_NAME AND REQ.TREE_EFFDT = TD.EFFDT JOIN PS_SSR_TST_CAT_NLD CAT ON TD.TREE_NODE = CAT.SSR_TST_ID_NLD AND TD.TREE_LEVEL_NUM = 1 JOIN PS_SAD_BR_BO_NLD INST ON INST.INSTITUTION = ES.INSTITUTION AND INST.SCC_BRINCD_NLD = ES.SCC_BRINCD_NLD AND INST.SAD_BR_QUA_RET_NLD = 'T' WHERE REQ.EFFDT = ( SELECT MAX(REQ_ED.EFFDT) FROM PS_ACAD_PROG_TBL REQ_ED WHERE REQ_ED.ACAD_PROG = REQ.ACAD_PROG AND REQ_ED.EFFDT <= AP.SSR_RESULT_DT_NLD) AND CAT.EFFDT = ( SELECT MAX(CAT_ED.EFFDT) FROM PS_SSR_TST_CAT_NLD CAT_ED WHERE CAT_ED.SSR_TST_ID_NLD = CAT.SSR_TST_ID_NLD AND CAT_ED.EFFDT <= TD.EFFDT) AND INST.EFFDT = ( SELECT MAX(INST_ED.EFFDT) FROM PS_SAD_BR_BO_NLD INST_ED WHERE INST.INSTITUTION = INST_ED.INSTITUTION AND INST.SCC_BRINCD_NLD = INST_ED.SCC_BRINCD_NLD AND INST_ED.EFFDT <= AP.SAD_BR_DIPL_DT_NLD) |
# | 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 | SAD_BR_EDU_SEC_NLD | Character(2) | VARCHAR2(2) NOT NULL |
Educational Sector
BO=Professional Education ED=Education VA=VAVO |
4 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
5 | SAD_BR_ENRL_SQ_NLD | Character(3) | VARCHAR2(3) NOT NULL | Enrollment Sequence number |
6 | HEGIS_CODE | Character(8) | VARCHAR2(8) NOT NULL | HEGIS Code |
7 | SAD_BR_DIPL_DT_NLD | Date(10) | DATE | Diploma Completed Date |
8 | SAD_BR_FUNDING_NLD | Character(1) | VARCHAR2(1) NOT NULL | Funding Indicator |
9 | 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 |
10 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |