APPR_SRC_BRA_VW(SQL View) |
Index Back |
---|---|
Search ApprenticeSearch Apprentice |
SELECT DISTINCT SEC.OPRID ,SEC.ROWSECCLASS ,A.EMPLID ,A.EMPL_RCD ,SEC.NAME ,SEC.NAME_DISPLAY_SRCH ,SEC.LAST_NAME_SRCH ,SEC.SECOND_LAST_SRCH ,SEC.FIRST_NAME ,SEC.LAST_NAME ,SEC.NAME_AC FROM PS_PER_ORG_ASGN A , PS_JOB B , PS_PERS_SRCH_GBL SEC WHERE A.EMPLID = SEC.EMPLID AND A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND B.EMPL_CLASS = '55' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = B.EMPLID AND C.EMPL_RCD = B.EMPL_RCD) AND B.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = B.EMPLID AND D.EMPL_RCD = B.EMPL_RCD AND D.EFFDT = B.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | ROWSECCLASS | Character(30) | VARCHAR2(30) NOT NULL | The class used to determine row level security |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
6 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
7 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
8 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
9 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
10 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
11 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |