SAD_SL_31O_4_VW

(SQL View)
Index Back

Studielink Admissions Current


SELECT A.INSTITUTION ,A.ACAD_CAREER , A.EMPLID ,A.ACAD_PROG , B.ACAD_PLAN , C.ACAD_YEAR , C.SCC_BRINCD_NLD , A.STDNT_CAR_NBR , A.ACAD_LOAD_APPR , C.SCC_SUBBRINCD_NLD , C.SSR_FORM_STUDY_NLD , C.SSR_ACAD_LEVEL_NLD ,A.CAMPUS ,C.SSR_SL_STARTMO_NLD FROM PS_ACAD_PROG A , PS_ACAD_PLAN B , PS_SSR_STD_PRG_NLD C , PS_EXTERNAL_SYSTEM D WHERE 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 A.EMPLID =C.EMPLID AND A.ACAD_CAREER = C.ACAD_CAREER AND A.STDNT_CAR_NBR = C.STDNT_CAR_NBR AND A.EMPLID = D.EMPLID AND D.EXTERNAL_SYSTEM ='SLN' AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_EXTERNAL_SYSTEM D1 WHERE D.EMPLID = D1.EMPLID AND D.EXTERNAL_SYSTEM = D1.EXTERNAL_SYSTEM AND D1.EFFDT <= %CurrentDateIn) AND 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 A1.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_ACAD_PROG A2 WHERE A.EMPLID =A2.EMPLID AND A.ACAD_CAREER = A2.ACAD_CAREER AND A.STDNT_CAR_NBR = A2.STDNT_CAR_NBR AND A.EFFDT =A2.EFFDT) AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_SSR_STD_PRG_NLD C1 WHERE C.EMPLID =C1.EMPLID AND C.ACAD_CAREER = C1.ACAD_CAREER AND C.STDNT_CAR_NBR = C1.STDNT_CAR_NBR AND C1.EFFDT <= %CurrentDateIn) AND C.EFFSEQ = ( SELECT MAX(C2.EFFSEQ) FROM PS_SSR_STD_PRG_NLD C2 WHERE C.EMPLID =C2.EMPLID AND C.ACAD_CAREER = C2.ACAD_CAREER AND C.STDNT_CAR_NBR = C2.STDNT_CAR_NBR AND C.EFFDT =C2.EFFDT) AND EXISTS ( SELECT 'X' FROM PS_SSR_STD_PRG_NLD CX WHERE CX.EMPLID =C.EMPLID AND CX.ACAD_CAREER = C.ACAD_CAREER AND CX.STDNT_CAR_NBR = C.STDNT_CAR_NBR AND CX.EFFDT = ( SELECT MAX(CX1.EFFDT) FROM PS_SSR_STD_PRG_NLD CX1 WHERE CX.EMPLID =CX1.EMPLID AND CX.ACAD_CAREER = CX1.ACAD_CAREER AND CX.STDNT_CAR_NBR = CX1.STDNT_CAR_NBR AND CX1.EFFDT < C.EFFDT) AND CX.EFFSEQ = ( SELECT MAX(CX2.EFFSEQ) FROM PS_SSR_STD_PRG_NLD CX2 WHERE CX.EMPLID =CX2.EMPLID AND CX.ACAD_CAREER = CX2.ACAD_CAREER AND CX.STDNT_CAR_NBR = CX2.STDNT_CAR_NBR AND CX.EFFDT =CX2.EFFDT) AND ( CX.SCC_SUBBRINCD_NLD <> C.SCC_SUBBRINCD_NLD OR CX.SSR_FORM_STUDY_NLD <> C.SSR_FORM_STUDY_NLD OR CX.SSR_ACAD_LEVEL_NLD <> C.SSR_ACAD_LEVEL_NLD OR CX.SSR_SL_STARTMO_NLD <> C.SSR_SL_STARTMO_NLD ))

# 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 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
5 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
6 ACAD_YEAR Character(4) VARCHAR2(4) NOT NULL Academic Year
7 SCC_BRINCD_NLD Character(4) VARCHAR2(4) NOT NULL BRINcode
8 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
9 ACAD_LOAD_APPR Character(1) VARCHAR2(1) NOT NULL Approved Academic Load
B=Vocational Coaching (NLD)
D=Dual (NLD)
E=Part-time Vocational Tr (NLD)
F=Full-Time
O=Vocational Training (NLD)
P=Part-Time
10 SCC_SUBBRINCD_NLD Character(2) VARCHAR2(2) NOT NULL Sub Institute
11 SSR_FORM_STUDY_NLD Character(4) VARCHAR2(4) NOT NULL Form of Study Higher Education
A=Auditor
D=Participant
E=Extraneus
S=Student
T=Coop/Dual
12 SSR_ACAD_LEVEL_NLD Character(4) VARCHAR2(4) NOT NULL Academ. Level Higher Education
A=Associate Degree
B=Bachelor
D=Propaedeutic Bachelor
H=Main
I=Initial Phase
K=Candidate
L=University teacher education
M=Master
P=Propaedeutic Phase
Q=Post-Initial
T=Interim Doctoral Exam
V=Continuation Phase
W=Continuing study
13 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus
14 SSR_SL_STARTMO_NLD Character(2) VARCHAR2(2) NOT NULL Start Month