GPBR_TR_SRC_VW

(SQL View)
Index Back

Search trainee

Search trainee BRA.

SELECT DISTINCT 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 = '199' 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 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
3 NAME Character(50) VARCHAR2(50) NOT NULL Name
4 NAME_DISPLAY_SRCH Character(50) VARCHAR2(50) NOT NULL Uppercase version of Name to improve performance on searches.
5 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
6 SECOND_LAST_SRCH Character(30) VARCHAR2(30) NOT NULL Second Last Name
7 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
8 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
9 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name