Environment: SQL Server 2005, Windows Server 2003
The system in question is an online reservation system. In it you can create special offers.
The special offer has a validity period.
We store in our database every period entered by our client, even if the period is in the past. We must keep these periods.
The system has existed since 10 years, so most of the periods in the database have passed.
Problem:
- to select periods for a special offer for a very long time
- I choose special offers without a valid period, so I need to select my offers, then my periods, after which I will delete offers that do not have a valid period.
How do you deal with this? Is there a built-in tool to ignore some data in some case?
source
share