SAA_INSCAR_VW(SQL View) |
Index Back |
---|---|
Select Career |
SELECT A.EMPLID , A.ACAD_CAREER , E.FA_PRIMACY_NBR , B.STDNT_CAR_NBR , C.EFFDT , C.INSTITUTION FROM PS_STDNT_CAREER A , PS_STDNT_CAR_SEQ B , PS_ACAD_PROG C , PS_INSTITUTION_TBL D , PS_ACAD_PROG_TBL E WHERE A.EMPLID = B.EMPLID AND A.ACAD_CAREER = B.ACAD_CAREER AND B.EMPLID = C.EMPLID AND B.ACAD_CAREER = C.ACAD_CAREER AND B.STDNT_CAR_NBR = C.STDNT_CAR_NBR AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_ACAD_PROG C1 WHERE C1.EMPLID = C.EMPLID AND C1.ACAD_CAREER = C.ACAD_CAREER AND C1.STDNT_CAR_NBR = C.STDNT_CAR_NBR AND C1.EFFDT <= %CurrentDateIn) AND C.prog_status = 'AC' AND C.EFFSEQ = ( SELECT MAX(C2.EFFSEQ) FROM PS_ACAD_PROG C2 WHERE C2.EMPLID = C.EMPLID AND C2.ACAD_CAREER = C.ACAD_CAREER AND C2.STDNT_CAR_NBR = C.STDNT_CAR_NBR AND C2.EFFDT = C.EFFDT) AND D.INSTITUTION = C.INSTITUTION AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_INSTITUTION_TBL D1 WHERE D1.INSTITUTION = D.INSTITUTION AND D1.EFFDT <= %CurrentDateIn) AND D.EFF_STATUS = 'A' AND E.ACAD_PROG = C.ACAD_PROG AND E.INSTITUTION = C.INSTITUTION AND E.EFFDT = ( SELECT MAX(E1.EFFDT) FROM PS_ACAD_PROG_TBL E1 WHERE E1.ACAD_PROG = E.ACAD_PROG AND E1.EFFDT <= %CurrentDateIn) AND E.EFF_STATUS = 'A' |
# | 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 | FA_PRIMACY_NBR | Number(3,0) | SMALLINT NOT NULL | Primacy Nbr |
4 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
5 | EFFDT | Date(10) | DATE | Effective Date |
6 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |