SS_GRAD2_SRCH

(SQL View)
Index Back

SELECT DISTINCT A.INSTITUTION , A.ACAD_CAREER , A.EMPLID , D.NAME , A.EFFDT , A.EFFSEQ , D.LAST_NAME_SRCH FROM PS_ACAD_PROG A , PS_ACAD_PROG_TBL C , PS_SCC_CUR_NAME_VW D WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ACAD_PROG A1 WHERE A1.EMPLID = A.EMPLID AND A1.ACAD_CAREER = A.ACAD_CAREER AND A1.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND A1.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_ACAD_PROG A2 WHERE A2.EMPLID = A.EMPLID AND A2.ACAD_CAREER = A.ACAD_CAREER AND A2.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND A2.EFFDT = A.EFFDT) AND A.PROG_STATUS = 'AC' AND C.INSTITUTION = A.INSTITUTION AND C.ACAD_PROG = A.ACAD_PROG AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_ACAD_PROG_TBL C1 WHERE C1.INSTITUTION = C.INSTITUTION AND C1.ACAD_PROG = C.ACAD_PROG AND C1.EFFDT <= A.EFFDT) AND C.EFF_STATUS = 'A' AND D.EMPLID = A.EMPLID AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_SCC_CUR_NAME_VW D1 WHERE D1.EMPLID = D.EMPLID AND D1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
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 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 NAME Character(50) VARCHAR2(50) NOT NULL Name
5 EFFDT Date(10) DATE Effective Date

Default Value: %date

6 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
7 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name