Hello all -
I have to use the date for the select criteria, & the following works for 6 digits period (200501), but does not for the 4 digits period (9901)
thanks,
cristi
I have to use the date for the select criteria, & the following works for 6 digits period (200501), but does not for the 4 digits period (9901)
Code:
AND DATE( SUBSTR(CONT_DETAIL.WORK_PERIOD,1,4)|| '-'||
SUBSTR(CONT_DETAIL.WORK_PERIOD,5,2)|| '-01') = DATE('2005-09-01')
AND DATE(SUBSTR(CONT_DETAIL.WORK_PERIOD,1,4)|| '-'||
SUBSTR(CONT_DETAIL.WORK_PERIOD,5,2)|| '-01') = DATE('2005-09-01')
cristi