GPFR_DUCS_ESTVW

(SQL View)
Index Back

Search for establishment

Selection of the max(effdt) in the ESTAB_TBL

SELECT A.ESTABID , A.DESCR , A.COMPANY FROM PS_ESTAB_TBL A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_ESTAB_TBL B WHERE A.ESTABID=B.ESTABID AND A.EFFDT <= %CurrentDateIn )

  • Related Language Record: GPFR_DUCS_ESLVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 ESTABID Character(12) VARCHAR2(12) NOT NULL Establishment ID
    2 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    3 COMPANY Character(3) VARCHAR2(3) NOT NULL Company