SQL Sprawdź, czy data jest między 2 datami
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate
Wild Wolf
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate