How would you go about writing a query to select results based on a range of dates. This is for a calendar, I want to grab all results within a given month. The tricky part is, the start date could be in the previous month and ending in current month, or ending in a future month. Start date in current month end in current month, or end in future month. So I have a date range for the month say 1/1/09 - 1/31/09 (can format date in any way). The articles have 2 datetime columns, start_date and end_date. Ideas?
Thank you