CAMPUS_LOC_VW2

(SQL View)
Index Back

Campus Loc View - No campus

This view shows valid locations within an institution and is not campus dependent.

SELECT A.INSTITUTION , A.LOCATION , B.DESCR FROM PS_CAMPUS_LOC_TBL A , PS_LOCATION_TBL B , PS_SET_CNTRL_REC C WHERE A.INSTITUTION = C.SETCNTRLVALUE AND C.RECNAME = 'LOCATION_TBL' AND C.SETID = B.SETID AND A.LOCATION = B.LOCATION AND B.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_LOCATION_TBL X WHERE X.LOCATION = B.LOCATION AND X.SETID = B.SETID AND X.EFFDT <= A.EFFDT) AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_CAMPUS_LOC_TBL A1 WHERE A1.INSTITUTION = A.INSTITUTION AND A1.LOCATION = A.LOCATION AND A1.EFFDT <= %CurrentDateIn)

  • Related Language Record: CAMPUS_LOC_LV2
  • Parent record: CAMPUS_TBL
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

    Default Value: OPR_DEF_TBL_CS.INSTITUTION

    Prompt Table: INSTITUTION_TBL

    2 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code

    Prompt Table: LOCATION_TBL

    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description