Is it possible to do a date based query using xpath syntax? Everything I have researched inidicates that this is not possible. I am querying a group of calendars and only want to bring back a month's worth of data - what strategies could I use to accomplish this?
8/10/2010: Edit for more information
I am building a notification system where users can get reminders for particular events. Reminders can come 4 weeks, 3 weeks, 2 weeks, 1 week in advance. I am storing this information in separate SQL database.
I need to do one of two things to keep my code as efficient as possible:
- Do a select from my notifications table, then only bring back events with notifications associated with them.
- Only bring back 4 weeks of events and then see which have notifications attached to them.