INTL_SCHPGM_VW

(SQL View)
Index Back

Intnatl School/Program Codes

INTL_SCHPGM_VW selects the current row for the record INTL_SCHPGM_VW

SELECT A.SCH_PGM_CD , A.EFFDT , A.EFF_STATUS , A.DESCR , A.DESCRSHORT , A.SCH_PGM_TYPE FROM PS_INTL_SCHPGM_TBL A WHERE A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_INTL_SCHPGM_TBL C WHERE C.SCH_PGM_CD = A. SCH_PGM_CD AND C.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SCH_PGM_CD Character(6) VARCHAR2(6) NOT NULL School/Program Code
2 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

3 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive

Default Value: A

4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
6 SCH_PGM_TYPE Character(1) VARCHAR2(1) NOT NULL School/Program Type
C=Local Customs
L=Language School
O=Other
R=Private School
U=Public School