There is a stored procedure to run each Sunday. I would like to get the order date from previous Sunday through Saturday. Right now we code as
"OrderDate Between convert(datetime, '05/02/99&#39 AND
convert(datetime, '05/08/99&#39 "
Each week the dates have to be manually changed. How to use the date function to make it automated?