i have sql query where i specify data to be selected between 2 dates for example.
where
date between '23-FEB-09' and '01-MAR-09'
In above example i have to keep changing date every time i want numbers for another week. I want the query to automatically give me numbers for each week. where week starts from Monday ends on Sunday. We could put a start or end date for number of occurance.
Any help is appreciated.
thanks
where
date between '23-FEB-09' and '01-MAR-09'
In above example i have to keep changing date every time i want numbers for another week. I want the query to automatically give me numbers for each week. where week starts from Monday ends on Sunday. We could put a start or end date for number of occurance.
Any help is appreciated.
thanks