Sue Taylor
asked on
SQL DATE Past due to current wek
I'd like to show dates in SQL between PAST DUE and the Current Week. Can someone tell me the correct syntax for that?
Where (Status = 'pending') AND (NextDate ???????????????
Where (Status = 'pending') AND (NextDate ???????????????
ASKER
I AM TRYING TO DISPLAY ALL RECORDS WHERE NEXTDATE IS EITHER PAST DUE OR IN THE CURRENT WEEK. SO IF IT'S MONDAY MAY 1, 2017, IT WOULD SHOW DATES FOR 5/1/17, 5/2/17, 5/3/17, 5/4/17, 5/5/17, 5/6/17, 5/7/17 AS WELL AS ANYTHING THAT WAS STILL 'PENDING' WITH A DATE OF BEFORE TODAY LIKE 1/1/2011, 5/12/2016
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
Open in new window