SSR_ADVEE_SRCH(SQL View) |
Index Back |
---|---|
Advisee Search ViewSelects from STDNT_SRCH. The difference between this and STDNT_SRCH is that EMPLID has a dynamic view prompt. |
SELECT a.OPRCLASS , a.EMPLID , a.NAME , a.SEX , a.BIRTHDATE , a.BIRTHDATE_MSK , a.CAMPUS_ID , a.NATIONAL_ID , a.NATIONAL_ID_MSK , a.NID_COUNTRY , a.NATIONAL_ID_TYPE , a.NID_DESCRSHORT , a.LAST_NAME_SRCH , a.FIRST_NAME_SRCH , a.ACAD_CAREER FROM PS_STDNT_SRCH a UNION SELECT a.OPRCLASS , a.EMPLID , a.NAME , a.SEX , a.BIRTHDATE , a.BIRTHDATE_MSK , a.CAMPUS_ID , a.NATIONAL_ID , a.NATIONAL_ID_MSK , a.NID_COUNTRY , a.NATIONAL_ID_TYPE , a.NID_DESCRSHORT , a.LAST_NAME_SRCH , a.FIRST_NAME_SRCH , ' ' FROM PS_PEOPLE_SRCH A WHERE a.EMPLID IN ( SELECT DISTINCT EMPLID FROM PS_INSTR_ADVISOR b WHERE b.effdt = ( SELECT MAX(c.effdt) FROM PS_INSTR_ADVISOR c WHERE b.emplid = c.emplid )) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRCLASS | Character(30) | VARCHAR2(30) NOT NULL | Operator Class |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: SSR_SSADVEE_DVW |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | SEX | Character(1) | VARCHAR2(1) NOT NULL |
Gender
F=Female M=Male U=Unknown X=Indeterminate/Intersex/Unspec |
5 | BIRTHDATE | Date(10) | DATE | Date of Birth |
6 | BIRTHDATE_MSK | Character(10) | VARCHAR2(10) NOT NULL | Date of Birth |
7 | CAMPUS_ID | Character(16) | VARCHAR2(16) NOT NULL | Campus ID |
8 | NATIONAL_ID | Character(20) | VARCHAR2(20) NOT NULL | National ID |
9 | NATIONAL_ID_MSK | Character(20) | VARCHAR2(20) NOT NULL | National ID |
10 | NID_COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | National ID Country |
11 | NATIONAL_ID_TYPE | Character(6) | VARCHAR2(6) NOT NULL |
National ID Type
Prompt Table:
NID_TYPE_TBL
|
12 | NID_DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | NID Short Description |
13 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
14 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
15 | 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 |