SAA_CARSEQ_LNVW

(SQL View)
Index Back

Rel Lang Student Career View

This related language view contains the distict academic careers a student has in the STDNT_CAR_SEQ table.

SELECT DISTINCT A.EMPLID , A.ACAD_CAREER , L.LANGUAGE_CD , L.DESCR FROM PS_STDNT_CAREER A , PS_ACAD_PROG B , PS_ACAD_CAR_TBL C , PS_ACAD_CAR_LANG L WHERE A.EMPLID = B.EMPLID AND A.ACAD_CAREER = B.ACAD_CAREER AND B.STDNT_CAR_NBR = ( SELECT MIN(B1.STDNT_CAR_NBR) FROM PS_ACAD_PROG 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 = ( SELECT MAX(B2.EFFDT) FROM PS_ACAD_PROG B2 WHERE B.EMPLID = B2.EMPLID AND B.ACAD_CAREER = B2.ACAD_CAREER AND B.STDNT_CAR_NBR = B2.STDNT_CAR_NBR) AND B.EFFSEQ = ( SELECT MAX(B3.EFFSEQ) FROM PS_ACAD_PROG B3 WHERE B.EMPLID = B3.EMPLID AND B.ACAD_CAREER = B3.ACAD_CAREER AND B.STDNT_CAR_NBR = B3.STDNT_CAR_NBR AND B.EFFDT = B3.EFFDT) AND B.INSTITUTION = C.INSTITUTION AND B.ACAD_CAREER = C.ACAD_CAREER AND C.EFFDT = ( SELECT MAX (C1.EFFDT) FROM PS_ACAD_CAR_TBL C1 WHERE C.INSTITUTION = C1.INSTITUTION AND C.ACAD_CAREER = C1.ACAD_CAREER AND C1.EFFDT <= %CurrentDateIn AND C1.EFF_STATUS = 'A') AND C.INSTITUTION = L.INSTITUTION AND C.ACAD_CAREER = L.ACAD_CAREER AND C.EFFDT = L.EFFDT

  • Related Language Record for SAA_CARSEQ_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

    Prompt Table: PEOPLE_SRCH

    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

    Prompt Table: STDNT_CAREER_VW

    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description