Yeah DATE_SUB() would work too

select * from table WHERE date_column BETWEEN CURDATE() and
DATE_SUB(CURDATE(),INTERVAL 30 DAY)

Eric

On Sun, Dec 28, 2008 at 7:00 PM, Will Tomlinson <[email protected]> wrote:

> >(I think this should work; I use MSSQL, so can't test this...)
> >
> >Seb
>
>
> Yep, that works perfectly! I really appreciate it dude!
>
> I still wonder why what I was using wasn't working.
>
> Thanks,
> Will
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317197
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to