reportwriter
IS-IT--Management
I'm working with a very large Oracle database, looking for records within the current month based on a date/time field. My goal is to maintain the index on the date field, limiting the time required to generate the report. The problem I'm having is this: If I convert the date/time to a date, the MonthToDate function omits data for the last day of the range. The workaround is to add 1 (+1) to the selection formula, but this causes every record in the database to be evaluated. Converting the date/time field to a string causes similar problems, since the formula DTSToDate must then be used, again causing evaluation of every record in the DB. Any help/suggestions would be greatly appreciated.