SAD_SL_EQ_APLVW

(SQL View)
Index Back

Studielink Admissions Current


SELECT A.INSTITUTION ,A.ACAD_CAREER ,A.EMPLID ,A.ACAD_PROG , B.ACAD_PLAN , C.SCC_BRINCD_NLD , C.SSR_SL_ACAD_YR_NLD , A.ADM_APPL_NBR , A.APPL_PROG_NBR , C.SCC_SUBBRINCD_NLD , C.SSR_FORM_STUDY_NLD , C.SSR_ACAD_LEVEL_NLD ,A.CAMPUS ,A.PROG_STATUS 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 B.ADM_APPL_NBR = ( SELECT MAX(B1.ADM_APPL_NBR) FROM PS_ADM_APPL_PLAN B1 WHERE B.ACAD_CAREER = B1.ACAD_CAREER AND B.EMPLID =B1.EMPLID AND B.STDNT_CAR_NBR = B1.STDNT_CAR_NBR AND B.APPL_PROG_NBR = B1.APPL_PROG_NBR AND B.ACAD_PLAN =B1.ACAD_PLAN) 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 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'

# 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 SCC_BRINCD_NLD Character(4) VARCHAR2(4) NOT NULL BRINcode
7 ACAD_YEAR Character(4) VARCHAR2(4) NOT NULL Academic Year
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 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 PROG_STATUS Character(4) VARCHAR2(4) NOT NULL Academic Program Status
AC=Active in Program
AD=Admitted
AP=Applicant
CM=Completed Program
CN=Cancelled
DC=Discontinued
DE=Deceased
DM=Dismissed
LA=Leave of Absence
PM=Prematriculant
SP=Suspended
WT=Waitlisted