Subject | Re: [firebird-support] Query using a range in where/having clause? |
---|---|
Author | Lee Jenkins |
Post date | 2004-06-07T18:56:18Z |
>I will give it a try Daniel.
> Here's how I usually write my WHERE clauses for scheduling:
>
> ((ScheduleStart < UserStart) and (ScheduleEnd > UserEnd))
> OR (ScheduleStart BETWEEN UserStart and UserEnd)
> OR (ScheduleEnd BETWEEN UserStart and UserEnd)
>
> Hope this helps.
>
Thank you,
Lee