I'd like to return items where the date column in a database e.g - (12/08/2007 08:16:00) is less than 30 days from the current date
any help would be great
any help would be great
select * from mytable where datediff(dd, datefieldonyourtable, getdate()) < 30
Comment