STDNT_TRM_PG_VW

(SQL View)
Index Back

Student Term Program View

The Student Term Program View selects the programs that are active for a student as of the beginning date of the term.

SELECT a.emplid ,a.acad_career ,a.acad_prog ,b.strm ,a.stdnt_car_nbr ,b.term_begin_dt ,a.prog_status FROM PS_ACAD_PROG a , ps_term_tbl b WHERE a.acad_career = b.acad_career AND a.institution = b.institution AND a.effdt = ( SELECT MAX(effdt) FROM PS_ACAD_PROG c WHERE c.emplid = a.emplid AND c.acad_career = a.acad_career AND c.stdnt_car_nbr = a.stdnt_car_nbr AND c.institution = a.institution AND a.effdt <= b.term_begin_dt) AND (a.prog_status = 'AC')

# 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

Prompt Table: ACAD_PROG_TBLVW

4 STRM Character(4) VARCHAR2(4) NOT NULL Term
5 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
6 ASOFDATE Date(10) DATE As of Date
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