SCC_ACADPRG_VW1

(SQL View)
Index Back

Acad Prog view for campus mobi


SELECT A.EMPLID , T.INSTITUTION , A.ACAD_CAREER , T.STRM , A.ACAD_PROG AS ACAD_PROG , APT.DESCR , A.STDNT_CAR_NBR FROM PS_ACAD_PROG A , PS_TERM_TBL T , PS_ACAD_PROG_TBL APT WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ACAD_PROG A1 WHERE A.EMPLID = A1.EMPLID AND A.ACAD_CAREER = A1.ACAD_CAREER AND A.STDNT_CAR_NBR = A1.STDNT_CAR_NBR AND A1.EFFDT <= T.TERM_END_DT ) AND A.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_ACAD_PROG A2 WHERE A.EMPLID = A2.EMPLID AND A.ACAD_CAREER = A2.ACAD_CAREER AND A.STDNT_CAR_NBR = A2.STDNT_CAR_NBR AND A2.EFFDT = A.EFFDT ) AND A.ACAD_CAREER = T.ACAD_CAREER AND A.PROG_STATUS = 'AC' AND APT.INSTITUTION = T.INSTITUTION AND APT.ACAD_PROG = A.ACAD_PROG AND APT.EFF_STATUS = 'A' AND %EffdtCheck(ACAD_PROG_TBL APT1, APT, T.TERM_END_DT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PEOPLE_SRCH

2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
3 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
4 STRM Character(4) VARCHAR2(4) NOT NULL Term
5 ACAD_PROG1 Character(5) VARCHAR2(5) NOT NULL Academic Program
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
7 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr