Trying to automate a query that will pull data for the current month where the day of the month (in the date field) is >= the 15th. Is this possible? If so, what is the syntax t
This will allow you to use any indexes you have on your date_field column:
date_field
SELECT * FROM table_name WHERE date_field >= TRUNC( SYSDATE, 'MM' ) + INTERVAL '14' DAY AND date_field < ADD_MONTHS( TRUNC( SYSDATE, 'MM' ), 1 );