SSR_RI_OLAV_NLD

(SQL View)
Index Back

Current View (location attr)

Current View (location attributes) /* 2021-10-06: fix for Bug-ID: 32929597 - RIOv3 */

SELECT DISTINCT A.INSTITUTION , A.SSR_RI_EDU_GOV_NLD , B.LOCATION , 'eigenOnderwijslocatiegebruikSleutel' , '' , B.LOCATION , '' , 0 , %DateNull , '' , CASE WHEN LENGTH(B.ESTABID) = 7 THEN B.ESTABID END FROM %Table(SSR_RI_EPS_NLD) A JOIN %Table(CAMPUS_TBL) C ON A.INSTITUTION = C.INSTITUTION JOIN %Table(LOCATION_TBL) B ON C.LOCATiON = B.LOCATION JOIN %Table(SSR_RI_OLWL_NLD) OLW ON A.INSTITUTION = OLW.INSTITUTION AND B.LOCATION = OLW.LOCATION JOIN %Table(SET_CNTRL_REC) E ON A.INSTITUTION = E.SETCNTRLVALUE AND E.RECNAME = 'LOCATION_TBL' AND E.SETID = B.SETID WHERE %EffdtCheck(CAMPUS_TBL C1, C, %currentdatein) AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM %Table(LOCATION_TBL) B_ED WHERE B.SETID = B_ED.SETID AND B.LOCATION = B_ED.LOCATION AND B_ED.EFFDT <= %CurrentDateIn ) AND %EffdtCheck(SSR_RI_EPS_NLD A_ED,A,%CURRENTDATEIN) AND A.EFFDT = OLW.EFFDT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 SSR_RI_EDU_GOV_NLD Character(20) VARCHAR2(20) NOT NULL Educational Board Code
3 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
4 SSR_RI_AT_NAME_NLD Character(50) VARCHAR2(50) NOT NULL Common Attribute
5 SSR_RI_AT_VAL_NLD Character(20) VARCHAR2(20) NOT NULL Attribute Value
6 SSR_RI_AT_TVAL_NLD Character(50) VARCHAR2(50) NOT NULL Text Value
7 SSR_RI_AT_BVAL_NLD Character(1) VARCHAR2(1) NOT NULL Yes/No Value
8 SSR_RI_AT_NVAL_NLD Number(32,11) DECIMAL(31,11) NOT NULL Numeric Value
9 SSR_RI_AT_DVAL_NLD Date(10) DATE Date Value
10 SSR_RI_AT_LVAL_NLD Long Character CLOB Text Value
11 SSR_RI_OLO_COD_NLD Character(12) VARCHAR2(12) NOT NULL RIO Establishment ID