HGA_OPRID_VW

(SQL View)
Index Back

OperatorID search

View to Search Operator ID

SELECT OPR.OPRID , NM.NAME , NM.LAST_NAME , NM.FIRST_NAME , NM.SECOND_LAST_NAME , NM.NAME_AC , NM.MIDDLE_NAME , NM.NAME FROM PS_NAMES NM , PSOPRDEFN OPR WHERE NM.EMPLID = OPR.EMPLID AND NM.NAME_TYPE = 'PRI' AND NM.EFFDT = ( SELECT MAX(NM1.EFFDT) FROM PS_NAMES NM1 WHERE NM.EMPLID = NM1.EMPLID AND NM1.NAME_TYPE = 'PRI' AND NM1.EFFDT <= %CurrentDateIn)

# 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 NAME Character(50) VARCHAR2(50) NOT NULL Name
3 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
4 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
5 SECOND_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Second Last Name
6 NAME_AC Character(50) VARCHAR2(50) NOT NULL Alternate Character Name
7 MIDDLE_NAME Character(30) VARCHAR2(30) NOT NULL MIDDLE_NAME
8 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country