Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi.... I need queries for retrieve data from ms access between two dates...
Posted
Comments
Sandeep Mewara 25-Aug-12 14:36pm    
And you tried.....?

1 solution

SQL
SELECT * FROM myTable WHERE myDateField BETWEEN '08-25-2011' AND '08-25-2012'
 
Share this answer
 
Comments
PunithaSabareeswari 25-Aug-12 7:42am    
use datetimepicker
OriginalGriff 25-Aug-12 7:49am    
You can if you want - but you will probably need two of them.
After that, what do you need to know?

Remember that we can't see your screen, access your HDD, or read your mind - all we get is what you write here! :laugh:
NOORULLA KHAN 1-Mar-14 6:55am    
Superb and Nice to work with this query and I was trying since a couple of day but No i didn't .Thank you bro

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900