STAGE1_SRCH

(SQL View)
Index Back

Stage 0 Revision - Test Srch


SELECT a.emplid , a.institution , a.aid_year , b.nid_country , b.national_id_type , b.nid_descrshort , b.national_id , b.birthdate , b.name , b.campus_id , b.sex , b.last_name_srch , b.first_name_srch , X.ferpa FROM PS_STUDENT_AID a , PS_PEOPLE_SRCH b , PS_PERSON_SA X WHERE (a.emplid = b.emplid) AND ((NOT EXISTS ( SELECT 'X' FROM PS_ISIR_CONTROL c WHERE a.emplid = c.emplid AND a.institution = c.institution AND a.aid_year = c.aid_year)) OR (EXISTS ( SELECT D.EMPLID FROM PS_ISIR_CONTROL d WHERE a.emplid = d.emplid AND a.institution = d.institution AND a.aid_year = d.aid_year AND d.isir_txn_nbr = 0))) AND A.EMPLID = X.EMPLID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PEOPLE_SRCH

2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Default Value: OPR_DEF_TBL_CS.INSTITUTION

Prompt Table: INSTITUTION_TBL

3 AID_YEAR Character(4) VARCHAR2(4) NOT NULL Aid Year

Default Value: OPR_DEF_TBL_CS.AID_YEAR

Prompt Table: AID_YEAR_TBL

4 NID_COUNTRY Character(3) VARCHAR2(3) NOT NULL National ID Country
5 NATIONAL_ID_TYPE Character(6) VARCHAR2(6) NOT NULL National ID Type

Prompt Table: NID_TYPE_TBL

6 NID_DESCRSHORT Character(10) VARCHAR2(10) NOT NULL NID Short Description
7 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
8 BIRTHDATE Date(10) DATE Date of Birth
9 NAME Character(50) VARCHAR2(50) NOT NULL Name
10 CAMPUS_ID Character(16) VARCHAR2(16) NOT NULL Campus ID
11 SEX Character(1) VARCHAR2(1) NOT NULL Gender
F=Female
M=Male
U=Unknown
X=Indeterminate/Intersex/Unspec
12 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
13 FIRST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL First Name
14 FERPA Character(1) VARCHAR2(1) NOT NULL FERPA