S SQL Serverem je to vlastně tak jednoduché jako:
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate
S SQL Serverem je to vlastně tak jednoduché jako:
SELECT startDate, endDate
FROM YourTable
WHERE '2012-10-25' between startDate and endDate