SSR_ADVISOR_VW

(SQL View)
Index Back

SELECT DISTINCT A.EMPLID , A.INSTITUTION , A.EFFDT , A.ACAD_CAREER , A.ACAD_PROG , A.ACAD_PLAN , B.PROG_STATUS , A.ADVISOR_ID , A.COMMITTEE_ID , A.ADVISOR_ROLE FROM PS_STDNT_ADVR_HIST A , PS_ACAD_PROG B WHERE A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_STDNT_ADVISOR A1 WHERE A1.EMPLID = A.EMPLID AND A1.INSTITUTION = A.INSTITUTION AND A1.EFFDT <= %CurrentDateIn) AND A.EMPLID = B.EMPLID AND A.ACAD_CAREER = B.ACAD_CAREER AND A.ACAD_PROG = B.ACAD_PROG AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_ACAD_PROG B1 WHERE B1.EMPLID = B.EMPLID AND B1.ACAD_CAREER = B.ACAD_CAREER AND B1.STDNT_CAR_NBR = B.STDNT_CAR_NBR AND B1.EFFDT <= %CurrentDateIn) AND B.EFFSEQ = ( SELECT MAX(B2.EFFSEQ) FROM PS_ACAD_PROG B2 WHERE B2.EMPLID = B.EMPLID AND B2.ACAD_CAREER = B.ACAD_CAREER AND B2.STDNT_CAR_NBR = B.STDNT_CAR_NBR AND B2.EFFDT = B.EFFDT) AND B.PROG_STATUS = 'AC'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
3 CURR_EFFDT Date(10) DATE Current Benefit Program Effdt
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
5 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
6 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
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
8 ADVISOR_ID Character(11) VARCHAR2(11) NOT NULL This field is used to identify advisors assigned to a student.
9 COMMITTEE_ID Character(6) VARCHAR2(6) NOT NULL Committee
10 ADVISOR_ROLE Character(4) VARCHAR2(4) NOT NULL Advisor Role
ADVR=Advisor
QEC=Qualifying Exam Committee
THES=Thesis Committee