J
johndoe
I'm trying to return all information from a table having a
field called "service_date".
However, the data should be only from the current week,
from Sunday to the Present Day.
So lets say there are records on Monday 12/22/2003,
Tuesday 12/23/2003 and Wednesday 12/24/2003 and I execute
the query on Wednesday. It should return all the data from
12/22/2003 upto 12/24/2003.
And if I execute the query the next day, Thursday
12/25/2003, it should return the data from 12/22/2003 upto
12/25/2003.
How can this be done? Any help will be greatly appreciated.
Thanks.
field called "service_date".
However, the data should be only from the current week,
from Sunday to the Present Day.
So lets say there are records on Monday 12/22/2003,
Tuesday 12/23/2003 and Wednesday 12/24/2003 and I execute
the query on Wednesday. It should return all the data from
12/22/2003 upto 12/24/2003.
And if I execute the query the next day, Thursday
12/25/2003, it should return the data from 12/22/2003 upto
12/25/2003.
How can this be done? Any help will be greatly appreciated.
Thanks.