SAD_BR_CENRSQNL

(SQL View)
Index Back

BRON enrollment sequence view


SELECT AP.INSTITUTION , HC.SCC_BRINCD_NLD , 'BO' , AP.EMPLID , AP.ACAD_CAREER , AP.STDNT_CAR_NBR , %NumToChar(AP.STDNT_CAR_NBR+100) ,AP.EFFDT ,AP.ACAD_PROG FROM PS_ACAD_PROG AP , PS_SCC_HM_CAMP_NLD HC WHERE AP.ACAD_CAREER IN ( SELECT DISTINCT ACAD_CAREER FROM PS_SAD_BR_XLSE_NLD XLSE WHERE XLSE.INSTITUTION = AP.INSTITUTION AND XLSE.SCC_BRINCD_NLD = HC.SCC_BRINCD_NLD AND XLSE.SAD_BR_EDU_SEC_NLD = 'BO') AND AP.EFFDT = ( SELECT MAX(AP_ED.EFFDT) FROM PS_ACAD_PROG AP_ED WHERE AP.EMPLID = AP_ED.EMPLID AND AP.ACAD_CAREER = AP_ED.ACAD_CAREER AND AP.STDNT_CAR_NBR = AP_ED.STDNT_CAR_NBR) AND AP.EFFSEQ = ( SELECT MAX(AP_ES.EFFSEQ) FROM PS_ACAD_PROG AP_ES WHERE AP.EMPLID = AP_ES.EMPLID AND AP.ACAD_CAREER = AP_ES.ACAD_CAREER AND AP.STDNT_CAR_NBR = AP_ES.STDNT_CAR_NBR AND AP.EFFDT = AP_ES.EFFDT) AND AP.ACAD_PROG = HC.ACAD_PROG AND AP.CAMPUS = HC.CAMPUS AND HC.EFFDT = ( SELECT MAX(HC_ED.EFFDT) FROM PS_SCC_HM_CAMP_NLD HC_ED WHERE HC.ACAD_PROG = HC_ED.ACAD_PROG AND HC_ED.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 SCC_BRINCD_NLD Character(4) VARCHAR2(4) NOT NULL BRINcode
3 SAD_BR_EDU_SEC_NLD Character(2) VARCHAR2(2) NOT NULL Educational Sector
BO=Professional Education
ED=Education
VA=VAVO
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 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
6 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
7 SAD_BR_ENRL_SQ_NLD Character(3) VARCHAR2(3) NOT NULL Enrollment Sequence number
8 EFFDT Date(10) DATE Effective Date

Default Value: %date

9 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program