SQL SERVER 2005-MAX FUNCTION
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?
Looking for relevant SQL Server Whitepapers? Visit the SearchSQLServer.com Research Library.