SCC_SFP_ADAPPVW(SQL View) |
Index Back |
---|---|
Earliest Program ViewView of Earliest Academic Program based on using the minimum admission application program number for a student. |
SELECT A.EMPLID ,A.INSTITUTION ,A.ACAD_CAREER ,A.ADMIT_TERM ,A.APPL_PROG_NBR ,T.TERM_BEGIN_DT FROM PS_ADM_APPL_PROG A ,PS_TERM_TBL T WHERE A.ACAD_CAREER = ( SELECT MAX(C.ACAD_CAREER) FROM PS_ADM_APPL_PROG C WHERE C.EMPLID = A.EMPLID ) AND A.STDNT_CAR_NBR = ( SELECT MAX(S.STDNT_CAR_NBR) FROM PS_ADM_APPL_PROG S WHERE S.EMPLID = A.EMPLID AND S.ACAD_CAREER = A.ACAD_CAREER ) AND A.ADM_APPL_NBR = ( SELECT MAX(L.ADM_APPL_NBR) FROM PS_ADM_APPL_PROG L WHERE L.EMPLID = A.EMPLID AND L.ACAD_CAREER = A.ACAD_CAREER AND L.STDNT_CAR_NBR = A.STDNT_CAR_NBR ) AND A.APPL_PROG_NBR = ( SELECT MIN(P.APPL_PROG_NBR) FROM PS_ADM_APPL_PROG P WHERE P.EMPLID = A.EMPLID AND P.ACAD_CAREER = A.ACAD_CAREER AND P.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND P.ADM_APPL_NBR = A.ADM_APPL_NBR ) AND A.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_ADM_APPL_PROG E WHERE E.EMPLID = A.EMPLID AND E.ACAD_CAREER = A.ACAD_CAREER AND E.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND E.ADM_APPL_NBR = A.ADM_APPL_NBR AND E.APPL_PROG_NBR = A.APPL_PROG_NBR AND E.EFFDT <= %CurrentDateIn ) AND A.EFFSEQ = ( SELECT MAX(S.EFFSEQ) FROM PS_ADM_APPL_PROG S WHERE S.EMPLID = A.EMPLID AND S.ACAD_CAREER = A.ACAD_CAREER AND S.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND S.ADM_APPL_NBR = A.ADM_APPL_NBR AND S.APPL_PROG_NBR = A.APPL_PROG_NBR AND S.EFFDT = A.EFFDT ) AND T.INSTITUTION = A.INSTITUTION AND T.ACAD_CAREER = A.ACAD_CAREER AND T.STRM = A.ADMIT_TERM |
# | 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 | 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 |
4 | ADMIT_TERM | Character(4) | VARCHAR2(4) NOT NULL | Admit Term |
5 | APPL_PROG_NBR | Number(3,0) | SMALLINT NOT NULL | Application Program Nbr |
6 | TERM_BEGIN_DT | Date(10) | DATE | Term Begin Date |