How to compare Date field in MS ACCESS that more than 2year compare to sysdate in sql
this is my simple logic... but not work....
Code:SELECT ACName,year(InDate) FROM ACInfo HAVING (year(date()) - Max(year(InDate))>=2) GROUP BY ACName
|
Results 1 to 3 of 3
|
Click Here to Expand Forum to Full Width |