SSR_PRGDEG_SRCH

(SQL View)
Index Back

Program Degree Search

This is a search record for the Graduation Tracking component. It returns the max effective dated academic program/plans where the program status is Active or Complete, the expected graduation term is not blank and the plan is degree seeking.

SELECT B.OPRCLASS , A.EMPLID , A.INSTITUTION , A.ACAD_CAREER , A.STDNT_CAR_NBR , A.ACAD_PROG , D.DEGREE , C.ACAD_PLAN , A.EXP_GRAD_TERM , B.NAME , B.SEX , B.BIRTHDATE , B.BIRTHDATE_MSK , B.CAMPUS_ID , B.NATIONAL_ID , B.NATIONAL_ID_MSK , B.NID_COUNTRY , B.NATIONAL_ID_TYPE , B.NID_DESCRSHORT , B.LAST_NAME_SRCH , B.FIRST_NAME_SRCH FROM PS_ACAD_PROG A , PS_PEOPLE_SRCH B , PS_ACAD_PLAN C , PS_ACAD_PLAN_TBL D WHERE A.EMPLID = B.EMPLID AND A.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_ACAD_PROG E WHERE E.EMPLID = A.EMPLID AND E.ACAD_CAREER = A.ACAD_CAREER AND E.STDNT_CAR_NBR = A.STDNT_CAR_NBR) AND A.EFFSEQ = ( SELECT MAX(F.EFFSEQ) FROM PS_ACAD_PROG F WHERE F.EMPLID = A.EMPLID AND F.ACAD_CAREER = A.ACAD_CAREER AND F.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND F.EFFDT = A.EFFDT) AND A.PROG_STATUS IN ('AC','CM') AND A.EXP_GRAD_TERM <> ' ' AND A.EMPLID = C.EMPLID AND A.ACAD_CAREER = C.ACAD_CAREER AND A.STDNT_CAR_NBR = C.STDNT_CAR_NBR AND A.EFFDT = C.EFFDT AND A.EFFSEQ = C.EFFSEQ AND D.INSTITUTION=A.INSTITUTION AND D.ACAD_PLAN = C.ACAD_PLAN AND D.DEGREE <> ' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRCLASS Character(30) VARCHAR2(30) NOT NULL Operator Class
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
3 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Default Value: OPR_DEF_TBL_CS.INSTITUTION

Prompt Table: INSTITUTN_SCRTY

4 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

Default Value: OPR_DEF_TBL_CS.ACAD_CAREER

Prompt Table: ACAD_CAR_SCRTY

5 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr

Default Value: 0

6 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program

Default Value: OPR_DEF_TBL_CS.ACAD_PROG

Prompt Table: ACAD_PROG_SCTY

7 DEGREE Character(8) VARCHAR2(8) NOT NULL Degree

Prompt Table: DEGREE_INTRN_VW

8 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan

Prompt Table: ACAD_PLAN_SVW2

9 EXP_GRAD_TERM Character(4) VARCHAR2(4) NOT NULL Expected Graduation Term

Prompt Table: TERM_TBL

10 NAME Character(50) VARCHAR2(50) NOT NULL Name
11 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
12 BIRTHDATE Date(10) DATE Date of Birth
13 BIRTHDATE_MSK Character(10) VARCHAR2(10) NOT NULL Date of Birth
14 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
15 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
16 NATIONAL_ID_MSK Character(20) VARCHAR2(20) NOT NULL National ID
17 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
18 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type
19 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
20 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
21 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name