STDNT_CAR_BU_VW(SQL View) |
Index Back |
---|---|
Student Career Bus Unit ViewThis view is used to determine the business unit associated with a career |
SELECT a.emplid , a.acad_career , a.institution , a.strm , e.business_unit FROM ps_stdnt_car_term a , PS_ACAD_PROG b , ps_home_campus_tbl e WHERE a.emplid = b.emplid AND a.acad_career = b.acad_career AND a.stdnt_car_nbr = b.stdnt_car_nbr AND b.effdt = ( SELECT MAX(c.effdt) FROM PS_ACAD_PROG c WHERE b.emplid = c.emplid AND b.acad_career = c.acad_career AND b.stdnt_car_nbr = c.stdnt_car_nbr) AND b.effseq = ( SELECT MAX(d.effseq) FROM PS_ACAD_PROG d WHERE b.emplid = d.emplid AND b.acad_career = d.acad_career AND b.stdnt_car_nbr = d.stdnt_car_nbr AND b.effdt = d.effdt) AND a.institution = e.institution AND b.acad_prog = e.acad_prog AND b.campus = e.campus AND e.effdt = ( SELECT MAX(f.effdt) FROM ps_home_campus_tbl f WHERE e.institution = f.institution AND e.acad_prog = f.acad_prog AND e.campus = f.campus AND f.effdt <= b.effdt) |
# | 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 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Prompt Table: INSTITUTION_TBL |
4 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
5 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |