GPJP_MONTH_VW

(SQL View)
Index Back

Months in Chronological Order

This view allows the 12 months of the year to be displayed in chronological instead of alphabetical order.

SELECT %Substring(A.FIELDVALUE,1,2) FROM PSXLATITEM A WHERE A.FIELDNAME = 'MONTHCD' AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PSXLATITEM WHERE FIELDNAME = A.FIELDNAME AND FIELDVALUE = A.FIELDVALUE) AND A.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 MONTHCD Character(2) VARCHAR2(2) NOT NULL Month
01=01 - January
02=02 - February
03=03 - March
04=04 - April
05=05 - May
06=06 - June
07=07 - July
08=08 - August
09=09 - September
10=10 - October
11=11 - November
12=12 - December