E
ethall
I'm trying to set up a query that pulls all date ranges that intersect with a
user-provided date range.
So, if I'm scheduled to be on vacation between 1 Jan and 1 Feb, those dates
are stored as start/end dates in a vacation table. If a user wants to know
who is on vacation between 10 Jan and 20 Jan, I won't show. How do I get the
query to include the time I'm on vacation when the start and end dates are
outside the query?
user-provided date range.
So, if I'm scheduled to be on vacation between 1 Jan and 1 Feb, those dates
are stored as start/end dates in a vacation table. If a user wants to know
who is on vacation between 10 Jan and 20 Jan, I won't show. How do I get the
query to include the time I'm on vacation when the start and end dates are
outside the query?