-
Stored procedure with date
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' AND
convert(datetime, '05/08/99' "
Each week the dates have to be manually changed. How to use the date function to make it automated?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|