Med SQL Server er det faktisk så simpelt som:
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate
Med SQL Server er det faktisk så simpelt som:
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate