ADDR_TYP_CUR_VW

(SQL View)
Index Back

Address Type Current View

Type list for active current effective dated addresses.

SELECT A.EMPLID ,A.ADDRESS_TYPE FROM PS_ADDRESSES A WHERE A.EFFDT = ( SELECT MAX(Z.EFFDT) FROM PS_ADDRESSES Z WHERE A.EMPLID = Z.EMPLID AND A.ADDRESS_TYPE = Z.ADDRESS_TYPE AND Z.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 ADDRESS_TYPE Character(4) VARCHAR2(4) NOT NULL Address Type

Prompt Table: ADDRESS_TYP_TBL