AV_MTVTN_INT_VW

(SQL View)
Index Back

Motivation Initiatives View

A view to return all the Appeals for a given Initiative.

SELECT A.INSTITUTION , A.INTV_CD , A.MOTIVATION_CD , A.SETID FROM PS_AV_MTVTN_INTV A WHERE EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_AV_MTVTN_INTV A1 WHERE A.SETID = A1.SETID AND A.MOTIVATION_CD = A1.MOTIVATION_CD AND A1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 INTV_CD Character(10) VARCHAR2(10) NOT NULL Initiative Code
3 MOTIVATION_CD Character(9) VARCHAR2(9) NOT NULL Appeal Code
4 SETID Character(5) VARCHAR2(5) NOT NULL SetID