List:General Discussion« Previous MessageNext Message »
From:Tobias Asplund Date:September 7 2004 12:41pm
Subject:Re: Tricky Date Query
View as plain text  
On Tue, 7 Sep 2004, Lee Denny wrote:

> Hello,
>
> I need to perform a select that compares two dates
>
> I need to return all records that haven't had date_2 set after a given
> number of days since date_1.
>


... WHERE date_2 < date_1 + INTERVAL X DAY

Where X is the number of days.

Assuming this is what you asked, giving more information is always good.
Thread
Tricky Date QueryLee Denny7 Sep
  • Re: Tricky Date QueryMichael Stassen7 Sep
  • Re: Tricky Date QueryTobias Asplund7 Sep