smallcheese
Programmer
Can anyone help on how to query a single date time field like this:
SELECT * FROM xxx WHERE DateTimeField = 'Monday', AND DateTimeField IS BETWEEN 12/9/2002 AND 22/11/2002 AND DateTimeField IS BETWEEN 9:50 AM AND 10:40 AM
To give you an idea, this is a print log, so I wish to get a summary of all jobs which were printed on mondays only, between 9:50 and 10:40, and that occured between the specified dates.
Thanks guys.
SELECT * FROM xxx WHERE DateTimeField = 'Monday', AND DateTimeField IS BETWEEN 12/9/2002 AND 22/11/2002 AND DateTimeField IS BETWEEN 9:50 AM AND 10:40 AM
To give you an idea, this is a print log, so I wish to get a summary of all jobs which were printed on mondays only, between 9:50 and 10:40, and that occured between the specified dates.
Thanks guys.