Subject Re: [firebird-support] Query using a range in where/having clause?
Author Daniel Rail
Hi,

At June 7, 2004, 16:18, Steffen Heil wrote:

>> ((ScheduleStart < UserStart) and (ScheduleEnd > UserEnd)) OR
> (ScheduleStart BETWEEN UserStart and UserEnd) OR (ScheduleEnd BETWEEN
> UserStart and UserEnd)

> What about (ScheduleStart < UserEnd) and (ScheduleEnd > UserStart) ?

Can you give me an example where I would need this condition and that
it wouldn't be covered by any of the 3 conditions that I mentioned?
I'm just curious and can't currently think of one.

--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)