SSF_PROG_ANZ_VW(SQL View) |
Index Back |
---|---|
AUS Acad Program ViewThis view is used as a prompt table for the AUS Student Loan panel |
SELECT A.EMPLID , A.ACAD_CAREER , A.INSTITUTION , B.STRM , A.STDNT_CAR_NBR , A.ACAD_PROG , A.PROG_STATUS , P.DESCRSHORT , C.BUSINESS_UNIT FROM PS_ACAD_PROG A , PS_TERM_TBL B , PS_HOME_CAMPUS_TBL C , PS_ACAD_PROG_TBL P WHERE A.INSTITUTION = B.INSTITUTION AND A.ACAD_CAREER = B.ACAD_CAREER AND A.ADMIT_TERM <= B.STRM AND A.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_ACAD_PROG X WHERE A.EMPLID = X.EMPLID AND A.ACAD_CAREER = X.ACAD_CAREER AND A.STDNT_CAR_NBR = X.STDNT_CAR_NBR) AND A.EFFSEQ = ( SELECT MAX(Y.EFFSEQ) FROM PS_ACAD_PROG Y WHERE A.EMPLID = Y.EMPLID AND A.ACAD_CAREER = Y.ACAD_CAREER AND A.STDNT_CAR_NBR = Y.STDNT_CAR_NBR AND A.EFFDT = Y.EFFDT) AND C.INSTITUTION = A.INSTITUTION AND C.ACAD_PROG = A.ACAD_PROG AND C.EFFDT = ( SELECT MAX(Z.EFFDT) FROM PS_HOME_CAMPUS_TBL Z WHERE C.INSTITUTION = Z.INSTITUTION AND C.ACAD_PROG = Z.ACAD_PROG AND Z.EFFDT <= %CurrentDateIn AND C.CAMPUS = Z.CAMPUS) AND C.CAMPUS = A.CAMPUS AND P.INSTITUTION = A.INSTITUTION AND P.ACAD_PROG = A.ACAD_PROG AND P.EFFDT = ( SELECT MAX(P1.EFFDT) FROM PS_ACAD_PROG_TBL P1 WHERE P1.INSTITUTION = P.INSTITUTION AND P1.ACAD_PROG = P.ACAD_PROG AND P1.EFFDT <= %CurrentDateIn) AND P.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: SCC_PERS_SA_VW |
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 Prompt Table: STDNT_CAREER |
3 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Prompt Table: INSTITUTION_TBL |
4 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Prompt Table: TERM_TBL |
5 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
6 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
7 | PROG_STATUS | Character(4) | VARCHAR2(4) NOT NULL |
Academic Program Status
AC=Active in Program AD=Admitted AP=Applicant CM=Completed Program CN=Cancelled DC=Discontinued DE=Deceased DM=Dismissed LA=Leave of Absence PM=Prematriculant SP=Suspended WT=Waitlisted |
8 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
9 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |