SAD_BPV_STDD_SR

(SQL View)
Index Back

search for BPV

FS 10062004

SELECT a.acad_load_appr , a.emplid , g.oprid , b.name , b.last_name_srch , b.first_name_srch , a.acad_career , a.stdnt_car_nbr , a.acad_prog , c.descrshort , d.descrshort , k.birthdate , i.sex , j.campus_id , a.institution , H.HEGIS_CODE FROM PS_ACAD_PROG a , ps_person_name b , PS_ACAD_PROG_tbl c , ps_institution_tbl d , ps_scrty_tbl_prog g , PS_HEGIS_CODE_TBL H , PS_PERS_DATA_EFFDT i , PS_PERSON_SA j , PS_PERSON k WHERE g.access_cd = 'Y' AND a.institution = g.institution AND a.acad_career = g.acad_career AND a.prog_status = 'AC' AND C.HEGIS_CODE = H.HEGIS_CODE AND j.emplid = b.emplid AND k.emplid = b.emplid AND i.emplid = b.emplid AND (a.acad_prog = g.acad_prog OR g.acad_prog = 'ALL') AND NOT EXISTS ( SELECT 'X' FROM ps_scrty_tbl_prog g1 WHERE g1.access_cd = 'N' AND g1.oprid = g.oprid AND g1.institution = g.institution AND g1.acad_career = g.acad_career AND g1.acad_prog = a.acad_prog) AND a.emplid = b.emplid AND a.acad_prog = c.acad_prog AND a.institution = c.institution AND c.effdt = ( SELECT MAX(e.effdt) FROM PS_ACAD_PROG_tbl e WHERE e.acad_prog = a.acad_prog AND e.institution = a.institution AND e.effdt <= a.effdt) AND a.institution = d.institution AND d.effdt = ( SELECT MAX(f.effdt) FROM ps_institution_tbl f WHERE f.institution = a.institution AND f.effdt <= a.effdt)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SAD_PLAN_SEL_NLD Character(1) VARCHAR2(1) NOT NULL Plan
A=All
B=BBL
O=BOL
2 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PEOPLE_SRCH

3 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
4 NAME Character(50) VARCHAR2(50) NOT NULL Name
5 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
6 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
7 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
8 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
9 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
10 PROG_SHORT_DESCR Character(10) VARCHAR2(10) NOT NULL Program Short Descr
11 INST_DESCR Character(10) VARCHAR2(10) NOT NULL Institution Short Descr
12 BIRTHDATE Date(10) DATE Date of Birth
13 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
14 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
15 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
16 HEGIS_CODE Character(8) VARCHAR2(8) NOT NULL HEGIS Code