Subject Re: [firebird-support] Subtract from date, Now
Author Martijn Tonies
> 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

With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com