SAD_BR_PROG1_VW(SQL View) |
Index Back |
---|---|
acad_prog stdnt selectView for selecting acad prog for BPV student |
SELECT A.EMPLID , A.ACAD_CAREER , A.ACAD_PROG , B.DESCRSHORT , B.DESCR FROM PS_ACAD_PROG A , PS_ACAD_PROG_TBL B WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_ACAD_PROG A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.ACAD_CAREER = A_ED.ACAD_CAREER AND A.STDNT_CAR_NBR = A_ED.STDNT_CAR_NBR AND A_ED.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A_ES.EFFSEQ) FROM PS_ACAD_PROG A_ES WHERE A.EMPLID = A_ES.EMPLID AND A.ACAD_CAREER = A_ES.ACAD_CAREER AND A.STDNT_CAR_NBR = A_ES.STDNT_CAR_NBR AND A.EFFDT = A_ES.EFFDT) AND B.ACAD_PROG = A.ACAD_PROG AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PS_ACAD_PROG_TBL B_ED WHERE B.ACAD_PROG = B_ED.ACAD_PROG AND B_ED.EFFDT <= A.EFFDT) AND A.PROG_STATUS = 'AC' GROUP BY A.EMPLID, A.ACAD_CAREER, A.ACAD_PROG, B.DESCRSHORT ,B.DESCR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | 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 |
3 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
4 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |