CNT_MAXSEQ_ESP

(SQL View)
Index Back

Contract Data Max Seq Vw ESP

Contract Data Maximum Sequence Vw ESP

SELECT A.EMPLID , A.CONTRACT_NUM , A.EFFDT , A.EFFSEQ FROM PS_WKF_CNT_TYP_ESP A WHERE EFFSEQ = ( SELECT MAX(B.EFFSEQ) FROM PS_WKF_CNT_TYP_ESP B WHERE A.EMPLID = B.EMPLID AND A.CONTRACT_NUM = B.CONTRACT_NUM AND A.EFFDT = B.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
3 EFFDT Date(10) DATE Effective Date
4 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence