SSR_STU_INSPROG(SQL View) |
Index Back |
---|---|
Institution, Career, ProgramLists the active Institutions, Career and Program a student is in. Use with App Package SSR_STUDENT_RECORDS:SR_StudentData:StudentAcadProfile |
SELECT a. EMPLID , a.INSTITUTION , a.ACAD_CAREER , a.ACAD_PROG , a.STDNT_CAR_NBR , ' ' , a.REQ_TERM FROM PS_ACAD_PROG a WHERE a.EFFDT = ( SELECT MAX(a1.EFFDT) FROM PS_ACAD_PROG a1 WHERE a1.EMPLID = a.EMPLID AND a1.ACAD_CAREER = a.ACAD_CAREER AND a1.STDNT_CAR_NBR = a.STDNT_CAR_NBR AND a1.EFFDT <= %CurrentDateIn) AND a.EFFSEQ = ( SELECT MAX(a2.EFFSEQ) FROM PS_ACAD_PROG a2 WHERE a2.EMPLID = a.EMPLID AND a2.ACAD_CAREER = a.ACAD_CAREER AND a2.STDNT_CAR_NBR = a.STDNT_CAR_NBR AND a2.EFFDT = a.EFFDT) 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
Prompt Table: PEOPLE_SRCH |
2 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL |
Academic Institution
Prompt Table: INSTITUTION_TBL |
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 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
5 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | REQ_TERM | Character(4) | VARCHAR2(4) NOT NULL | Requirement Term |