I am trying to select records where the date is older than the current month. I am using this:
and MY_DATE <= ADD_MONTHS(TRUNC(SYSDATE), -1)
but it is not working good. Seems to select records based on 30 days, and not the month.
For example on March 19, any record Feburary or older needs to be selected. The above is eliminating records in late Feb.
How do i do this properly?