SAD_APP_PRG_LNG

(SQL View)
Index Back

Applicant Program Lang Record

Applicant Program Lang Record for CM

SELECT a.emplid , a.institution , d.language_cd , d.descr FROM ps_adm_appl_data a , ps_adm_appl_prog b , PS_TERM_TBL c , PS_TERM_TBL_lang d WHERE a.emplid = b.emplid AND a.acad_career = b.acad_career AND a.stdnt_car_nbr = b.stdnt_car_nbr AND a.institution = b.institution AND a.adm_appl_nbr = b.adm_appl_nbr AND b.institution = c.institution AND b.acad_career = c.acad_career AND b.admit_term = c.strm AND d.institution = c.institution AND d.acad_career = c.acad_career AND d.strm = c.strm AND b.effdt = ( SELECT MAX(b1.effdt) FROM ps_adm_appl_prog b1 WHERE b.emplid = b1.emplid AND b.acad_career = b1.acad_career AND b.stdnt_car_nbr = b1.stdnt_car_nbr AND b.adm_appl_nbr = b1.adm_appl_nbr AND b.appl_prog_nbr = b1.appl_prog_nbr AND b1.effdt <= %CurrentDateIn) AND b.effseq = ( SELECT MAX(b2.EFFSEQ) FROM PS_ADM_APPL_PROG b2 WHERE b2.EMPLID=b.EMPLID AND b2.ACAD_CAREER=b.ACAD_CAREER AND b2.STDNT_CAR_NBR=b.STDNT_CAR_NBR AND b2.ADM_APPL_NBR=b.ADM_APPL_NBR AND b2.APPL_PROG_NBR=b.APPL_PROG_NBR AND b2.EFFDT=b.EFFDT) AND c.term_begin_dt > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
3 LANG_CD Character(3) VARCHAR2(3) NOT NULL Language Code
CFR=Canadian French
DAN=Danish
DUT=Dutch
ENG=English
ESP=Spanish
FRA=French
GER=German
GRK=Greek
INE=International English
ITA=Italian
JPN=Japanese
KOR=Korean
POR=Portuguese
SVE=Swedish
THA=Thai
ZHS=Simplified Chinese
ZHT=Traditional Chinese
4 TERM_DESCR30 Character(30) VARCHAR2(30) NOT NULL Term