Results 1 to 3 of 3

Thread: How to compare Date field in MS ACCESS that more than 2year compare to sysdate in sql

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2007
    Posts
    445

    How to compare Date field in MS ACCESS that more than 2year compare to sysdate in sql

    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
    Last edited by wenight; Sep 21st, 2007 at 11:42 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width