Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Latest Date

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-01-05 : 15:14:32
Malc writes "Hi Team. Hope you can help with this one. I'm retrieving 2 dates from a table (SQL Server 6.5) using SELECT ...and displaying them as one part of an ASP. Easy so far. Now I want to just show the later date of the two (it can be either, for each row). And then I want to add 7 days on, before displaying the result.
I think I can see how to do it with VBScript within the page but I wondered if it's possible within the SELECT line? I've seen some reference to MAX but no working examples. Any ideas?"
   

- Advertisement -