How about this?
Code:
WHERE entrydate
BETWEEN CURRENT_DATE - ( DAY(CURRENT_DATE) - 8 ) DAYs - 1 MONTH
AND CURRENT_DATE - ( DAY(CURRENT_DATE) - 8 ) DAYs
Anyhow, I'm interested in the following fact.
Is it really your requirement?
If "to pull all the records starting 8th of previous month to 8 th of this month",
then "the row of 8th of a month" would be included in both of unload job run at previous month and this month.