MS Query - Date Query - TechRepublic
Question
May 12, 2008 at 08:10 AM
martinbullock15

MS Query – Date Query

by martinbullock15 . Updated 18 years, 2 months ago

Hi

I am trying to make this SQL Statment work in MS Excel Query:

dateadd(DAY,-7,getdate())

or a simular query that will work, so that i can pull all information based on todays date -7 days using the date field.

I have tried inserting the above query directly into the SQL option of MS Query but it returns that getdate() is an unregconised statment.

Thanks in advance

Kind Regards

This discussion is locked

All Comments