• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

retrieving date field from access database using query

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Am unable to retrieve the users information according to the datewise through the query from access database. The datefield datatype is declared as 'shortdate'. The error is showing as "datetype mismatch criteria".
eg: select name,ddate,department from tablename where ddate between '2006-12-01' and '2006-12-31';
I tried in all date formats like mm/dd/yyyy,dd/mm/yyyy and so on.

Thanks in advance,
Siva
reply
    Bookmark Topic Watch Topic
  • New Topic