Results 1 to 3 of 3
  1. #1
    johnson8809 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2015
    Posts
    11

    Date was defined as a 'Literal'


    I am currently the new owner of a sql statement that has a some dates defined as a literal. I need to run a query and produce a date comparison. Anyone out there know how I can do it without redefining an extremely complicated statement. The date that I am trying to compare against is defined as 'date'.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    they aren't defined as literal, that's just the display format. Literal dates are yyyy-mm-dd. The source field, if it is a date field, should still respond to the dateadd, datediff functions.

  3. #3
    johnson8809 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Feb 2015
    Posts
    11
    Thank you, i appreciate the help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 11-12-2013, 04:13 PM
  2. Replies: 7
    Last Post: 11-06-2013, 09:51 AM
  3. Replies: 1
    Last Post: 10-29-2012, 03:07 PM
  4. Replies: 5
    Last Post: 05-29-2012, 08:50 PM
  5. Replies: 1
    Last Post: 07-07-2010, 04:22 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
  •  
Other Forums: Microsoft Office Forums