SAA_ADVISOR_VW(SQL View) |
Index Back |
---|---|
Advisors |
SELECT DISTINCT A.EMPLID , A.INSTITUTION , A.ADVISOR_ID , A.EFFDT , A.ACAD_CAREER , A.ACAD_PROG , A.ACAD_PLAN , A.COMMITTEE_ID 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 | ADVISOR_ID | Character(11) | VARCHAR2(11) NOT NULL | This field is used to identify advisors assigned to a student. |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | 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 |
6 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
7 | ACAD_PLAN | Character(10) | VARCHAR2(10) NOT NULL | Academic Plan |
8 | COMMITTEE_ID | Character(6) | VARCHAR2(6) NOT NULL | Committee |