5 pts.
 Trying to learn – How to filter dates…
I have a DB that lists a date in each column, so that when I run a simple query I can pull up only the dates that I need. I have tried (filtering by exculding dates not needed) but now my DB is too big to spend the time going through each date, to only get current dates needed. I need to know a way to run a simple query to pull up curtain dates in one query. Not sure hot to do it, I am new to access and have learning as I go, so any help will do. Thank you.

Software/Hardware used:
ASKED: April 6, 2009  2:27 PM
UPDATED: April 13, 2009  4:16 PM

Answer Wiki:
There are many ways to do that anyway you may try with a DATE BETWEEN like <b>SELECT * WHERE MYDTFIELD BETWEEN #01/01/2009# AND #02/01/2009#</b> Another way to improve performance is to add an index or multiple indexes. If you often use multiple fields in your query, create an index that groups those fields together. You create an index by using the index button on the table design view.
Last Wiki Answer Submitted:  April 11, 2009  6:08 pm  by  alessandro.panzetta   9,695 pts.
All Answer Wiki Contributors:  alessandro.panzetta   9,695 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

hi…
select * from table_nm where date_col in (<give the list of dates you need to filter>)

 10 pts.