Subject: Count Dates
Posted By: Odifius Post Date: 9/22/2006 10:53:19 AM
I have this SQL query to find the number of dates in a table between these two dates.  Now I want to know how many dates there are.  I tried to use count but it didnt work.  Any help would be greatly appreciated.

SELECT Cans.FitDate
FROM Cans
WHERE (((Cans.FitDate)>#6/23/2005# And (Cans.FitDate)<#6/30/2005#))
WITH OWNERACCESS OPTION;

JR
Reply By: mmcdonal Reply Date: 9/25/2006 2:26:58 PM
Do you want to know the number of DAYS between those two dates, or the number of dates in records in your database that fall between those two dates?


mmcdonal

Go to topic 15318

Return to index page 165
Return to index page 164
Return to index page 163
Return to index page 162
Return to index page 161
Return to index page 160
Return to index page 159
Return to index page 158
Return to index page 157
Return to index page 156