SAD_SL_31O_2_VW

(SQL View)
Index Back

Studielink Admissions Current


SELECT A.INSTITUTION ,A.ACAD_CAREER , A.EMPLID ,A.ACAD_PROG , B.ACAD_PLAN , C.SSR_SL_ACAD_YR_NLD , C.SCC_BRINCD_NLD ,A.ADM_APPL_NBR ,A.APPL_PROG_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_ADM_APPL_PROG A , PS_ADM_APPL_PLAN B , PS_SAD_STD_APP_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.ADM_APPL_NBR =B.ADM_APPL_NBR AND A.APPL_PROG_NBR = B.APPL_PROG_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.ADM_APPL_NBR =C.ADM_APPL_NBR AND A.APPL_PROG_NBR = C.APPL_PROG_NBR AND A.EFFDT = C.EFFDT AND A.EFFSEQ = C.EFFSEQ 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_ADM_APPL_PROG A1 WHERE A.EMPLID =A1.EMPLID AND A.ACAD_CAREER = A1.ACAD_CAREER AND A.STDNT_CAR_NBR = A1.STDNT_CAR_NBR AND A.ADM_APPL_NBR = A1.ADM_APPL_NBR AND A.APPL_PROG_NBR = A1.APPL_PROG_NBR AND A1.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_ADM_APPL_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.ADM_APPL_NBR = A2.ADM_APPL_NBR AND A.APPL_PROG_NBR = A2.APPL_PROG_NBR AND A.EFFDT =A2.EFFDT) AND A.PROG_STATUS <> 'AC' AND EXISTS ( SELECT 'X' FROM PS_ADM_APPL_PROG AX , PS_ADM_APPL_PLAN BX , PS_SAD_STD_APP_NLD CX WHERE AX.EMPLID =BX.EMPLID AND AX.ACAD_CAREER = BX.ACAD_CAREER AND AX.STDNT_CAR_NBR = BX.STDNT_CAR_NBR AND AX.ADM_APPL_NBR =BX.ADM_APPL_NBR AND AX.APPL_PROG_NBR = BX.APPL_PROG_NBR AND AX.EFFDT = BX.EFFDT AND AX.EFFSEQ = BX.EFFSEQ AND AX.EMPLID =CX.EMPLID AND AX.ACAD_CAREER = CX.ACAD_CAREER AND AX.STDNT_CAR_NBR = CX.STDNT_CAR_NBR AND AX.ADM_APPL_NBR =CX.ADM_APPL_NBR AND AX.APPL_PROG_NBR = CX.APPL_PROG_NBR AND AX.EFFDT = CX.EFFDT AND AX.EFFSEQ = CX.EFFSEQ AND AX.EMPLID =A.EMPLID AND AX.ACAD_CAREER = A.ACAD_CAREER AND AX.STDNT_CAR_NBR = A.STDNT_CAR_NBR AND AX.ADM_APPL_NBR =A.ADM_APPL_NBR AND AX.APPL_PROG_NBR = A.APPL_PROG_NBR AND (AX.EFFDT = A.EFFDT AND AX.EFFSEQ = A.EFFSEQ -1) AND ( AX.ACAD_LOAD_APPR <> A.ACAD_LOAD_APPR OR C.SCC_SUBBRINCD_NLD <> CX.SCC_SUBBRINCD_NLD OR C.SSR_FORM_STUDY_NLD <> CX.SSR_FORM_STUDY_NLD OR C.SSR_ACAD_LEVEL_NLD <> CX.SSR_ACAD_LEVEL_NLD OR C.SSR_SL_STARTMO_NLD <> CX.SSR_SL_STARTMO_NLD OR A.CAMPUS <> AX.CAMPUS))

# 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 ADM_APPL_NBR Character(8) VARCHAR2(8) NOT NULL Application Nbr
9 APPL_PROG_NBR Number(3,0) SMALLINT NOT NULL Application Program Nbr
10 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
11 SCC_SUBBRINCD_NLD Character(2) VARCHAR2(2) NOT NULL Sub Institute
12 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
13 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
14 CAMPUS Character(5) VARCHAR2(5) NOT NULL Campus
15 SSR_SL_STARTMO_NLD Character(2) VARCHAR2(2) NOT NULL Start Month