PERSON_PNAMEVWL

(SQL View)
Index Back

Rel lang for PERSON_PNAME_VW

Related language for the PERSON_PNAME_VW view.

SELECT A.EMPLID , A.NAME_TYPE , A.EFFDT , B.LANGUAGE_CD , B.NAME FROM PS_NAMES A , PS_NAMES_LNG B WHERE A.NAME_TYPE = 'PRI' AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_NAMES A1 WHERE A1.EMPLID = A.EMPLID AND A1.NAME_TYPE = A.NAME_TYPE AND A1.EFFDT <= %CurrentDateIn ) AND B.EMPLID = A.EMPLID AND B.NAME_TYPE = A.NAME_TYPE AND B.EFFDT = A.EFFDT

  • Related Language Record for PERSON_PNAME_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
    2 NAME_TYPE Character(3) VARCHAR2(3) NOT NULL Type of Name
    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    5 NAME Character(50) VARCHAR2(50) NOT NULL Name