Subject | Re: Subtract from date, Now |
---|---|
Author | mcbootchek |
Post date | 2004-11-10T20:32:44Z |
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
WHERE
(DKLEVDM01.D$PORIZENO > ('now'-2))
<m.tonies@u...> wrote:
>in my selects following works well
> > I need to run a query including the last 30 days. I am thinking
> > something along the lines of
> >
> > SELECT * FROM TABLE WHERE COLUMN<='NOW'-30;
> >
> > But I know the above does not work
> >
> > Any ideas or suggestions
>
> current_date-30
>
WHERE
(DKLEVDM01.D$PORIZENO > ('now'-2))