RS_ED_WKR_POOL

(SQL View)
Index Back

SELECT A.EMPLID , A.POOL_ID , D.DESCR , CASE WHEN B.END_DATE <= %CurrentDateIn THEN %Dttm(B.END_DATE, %TIMEIN('00.00.00.000000')) ELSE %Dttm(B.START_DATE, %TIMEIN('00.00.00.000000')) END FROM %Table(RS_POOL_MEMBER) A , %Table(RS_MEMBER_DATES) B , %Table(RS_RES_POOL) D WHERE A.POOL_ID = B.POOL_ID AND A.MEMBER_ID = B.MEMBER_ID AND A.POOL_ID = D.POOL_ID AND (B.START_DATE <= %CurrentDateIn OR B.END_DATE <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 POOL_ID Character(10) VARCHAR2(10) NOT NULL Pool ID field.
3 POOL_NAME Character(30) VARCHAR2(30) NOT NULL 11/15/2004- FS
4 DTTM_IN_EFFECT DateTime(26) TIMESTAMP Effective Date-Time