AV_PLAN_MAJ1_LN(SQL View) |
Index Back |
---|---|
Major Acad Plan Language ViewRelated Language View of AV_PLAN_MAJ1_VW |
SELECT A.EMPLID , A.ACAD_CAREER , A.STDNT_CAR_NBR , A.EFFDT , A.EFFSEQ , D.LANGUAGE_CD , B.STDNT_DEGR , 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.ACAD_PLAN IN ( SELECT B2.ACAD_PLAN FROM PS_ACAD_PLAN_TBL B2 WHERE B2.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 | STDNT_DEGR | Character(2) | VARCHAR2(2) NOT NULL | Student Degree Nbr |
8 | AV_MAJOR1_NAME | Character(50) | VARCHAR2(50) NOT NULL | Major1 description of a person |