Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date calculation

Status
Not open for further replies.
Dec 4, 2001
1
US
I'm trying to do a sql where clause that says:

where date < = to Current Date - 12 months

I tried this:
where date <= Current Date - Months(12)
but it doesn't work any suggestions?

regards
compie
 
Your first statement looks good to me. Whats the error?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top