AV_PLAN_MAJ2_LN(SQL View) |
Index Back |
---|---|
Major2 Acad Plan Language ViewRelated Language View of AV_PLAN_MAJ2_VW |
SELECT A.EMPLID , A.ACAD_CAREER , A.STDNT_CAR_NBR , A.EFFDT , A.EFFSEQ , D.LANGUAGE_CD , D.DESCR FROM PS_ACAD_PROG A , PS_ACAD_PLAN B , PS_ACAD_PLAN_TBL C , PS_ACAD_PLAN_LANG D WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ACAD_PROG A1 WHERE A.EMPLID = A1.EMPLID AND A.ACAD_CAREER = A1.ACAD_CAREER AND A.STDNT_CAR_NBR = A1.STDNT_CAR_NBR) AND A.EMPLID = B.EMPLID AND A.ACAD_CAREER = B.ACAD_CAREER AND A.STDNT_CAR_NBR = B.STDNT_CAR_NBR AND A.EFFDT = B.EFFDT AND A.EFFSEQ = B.EFFSEQ AND C.INSTITUTION = A.INSTITUTION AND C.ACAD_PLAN = B.ACAD_PLAN AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_ACAD_PLAN_TBL C1 WHERE C.INSTITUTION = C1.INSTITUTION AND C.ACAD_PLAN = C1.ACAD_PLAN AND C1.EFFDT <= B.EFFDT) AND C.EFF_STATUS = 'A' AND C.ACAD_PLAN_TYPE = 'MAJ' AND B.PLAN_SEQUENCE = ( SELECT MIN(B1.PLAN_SEQUENCE) FROM PS_ACAD_PLAN B1 WHERE B.EMPLID = B1.EMPLID AND B.ACAD_CAREER = B1.ACAD_CAREER AND B.STDNT_CAR_NBR = B1.STDNT_CAR_NBR AND B.EFFDT = B1.EFFDT AND B.EFFSEQ = B1.EFFSEQ AND B1.PLAN_SEQUENCE IN ( SELECT B11.PLAN_SEQUENCE FROM PS_ACAD_PLAN B11 WHERE B1.EMPLID = B11.EMPLID AND B1.ACAD_CAREER = B11.ACAD_CAREER AND B1.STDNT_CAR_NBR = B11.STDNT_CAR_NBR AND B1.EFFDT = B11.EFFDT AND B1.EFFSEQ = B11.EFFSEQ AND B11.ACAD_PLAN IN ( SELECT P1.ACAD_PLAN FROM PS_ACAD_PLAN_TBL P1 WHERE P1.ACAD_PLAN_TYPE = 'MAJ') AND B11.PLAN_SEQUENCE > ( SELECT MIN(B111.PLAN_SEQUENCE) FROM PS_ACAD_PLAN B111 WHERE B11.EMPLID = B111.EMPLID AND B11.ACAD_CAREER = B111.ACAD_CAREER AND B11.STDNT_CAR_NBR = B111.STDNT_CAR_NBR AND B11.EFFDT = B111.EFFDT AND B11.EFFSEQ = B111.EFFSEQ AND B111.ACAD_PLAN IN ( SELECT B4.ACAD_PLAN FROM PS_ACAD_PLAN_TBL B4 WHERE B4.ACAD_PLAN_TYPE = 'MAJ')))) AND C.INSTITUTION = D.INSTITUTION AND C.ACAD_PLAN = D.ACAD_PLAN |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | 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 |
3 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
6 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
7 | AV_MAJOR2_NAME | Character(50) | VARCHAR2(50) NOT NULL | Major2 description |