srejja
asked on
Retrieving last 14 months of data with SQL statement
I have a query that currently pulls all data since May of 2005. The report that utilizes this data only needs 14 months of data to run. How can I set up the query below to pull only the last 14 months of data going back from the current date? Preferably the solution will be placed within the where statement. All queries are run from MS Query within Excel XP. Thanks in advance.
Select *
From Table A
Where fundeddate>'20050430'
Select *
From Table A
Where fundeddate>'20050430'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
From Table A
Where fundeddate<DATEADD(month,-