I have a stored proc1 which returns a list of dates for one particular job number.I execute this proc in an other proc2 ,to get the list of all dates.
Then in my proc2 we can get the MAX of this list of dates.
In the WHERE clause of my SELECT statement, i need to filter the result set by dates less than MAX, but greater than MAX – 7 (days).
How should I implement this?
June 6, 2008 6:18 PM
October 16, 2013 9:49 PM