STDNT_PKG_CARVW

(SQL View)
Index Back

Student Award union w/ Fa Term

This view is used to select the careers for a given aid year for a student

SELECT A.EMPLID , A.INSTITUTION , A.AID_YEAR , B.ACAD_CAREER FROM PS_STUDENT_AID A , PS_ACAD_CAR_TBL B WHERE A.INSTITUTION= B.INSTITUTION AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_ACAD_CAR_TBL B1 WHERE B1.INSTITUTION = B.INSTITUTION AND B1.ACAD_CAREER = B.ACAD_CAREER AND B1.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND (EXISTS ( SELECT DISTINCT C.ACAD_CAREER FROM PS_STDNT_AWARDS C WHERE C.EMPLID = A.EMPLID AND C.INSTITUTION = A.INSTITUTION AND C.AID_YEAR = A.AID_YEAR AND C.ACAD_CAREER = B.ACAD_CAREER) OR EXISTS ( SELECT DISTINCT D.ACAD_CAREER FROM PS_STDNT_CR_TRM_VW D WHERE D.EMPLID = A.EMPLID AND D.INSTITUTION = A.INSTITUTION AND D.AID_YEAR = A.AID_YEAR AND D.ACAD_CAREER = B.ACAD_CAREER))

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

Default Value: STDNT_AID_SRCH.EMPLID

2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Default Value: STDNT_AID_SRCH.INSTITUTION

3 AID_YEAR Character(4) VARCHAR2(4) NOT NULL Aid Year

Default Value: STDNT_AID_SRCH.AID_YEAR

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

Prompt Table: STDNT_CAREER