I'm using a query manager but I can create oracle expressions so I'm hoping this can be done. I hope I can explain what I need so that it makes sense. I have a start_date and end_date field. Is there anyway to have it break out per week# in the calendar year so:
ID Start Date End Date
1 04/01/2009 04/13/2009
2 04/13/2009 04/13/2009
3 05/04/2009 05/07/2009
===========
Results needed
ID Week# Date Range
1 14 03/29/2009 to 04/04/2009
1 15 04/05/2009 to 04/11/2009
1 16 04/12/2009 to 04/18/2009
2 16 04/12/2009 to 04/18/2009
3 20 05/03/2009 to 05/09/2009
Appreciate any help.
ID Start Date End Date
1 04/01/2009 04/13/2009
2 04/13/2009 04/13/2009
3 05/04/2009 05/07/2009
===========
Results needed
ID Week# Date Range
1 14 03/29/2009 to 04/04/2009
1 15 04/05/2009 to 04/11/2009
1 16 04/12/2009 to 04/18/2009
2 16 04/12/2009 to 04/18/2009
3 20 05/03/2009 to 05/09/2009
Appreciate any help.