Posts: 256
Location: Auckland, New Zealand
|
Well your problem is the end date inside the row is 2006-06-01, which is 2 weeks, rather than ending in the same day, so unfortunately your condition for WHERE TRUE AND TRUE, is actually WHERE TRUE AND FALSE.
If you fixed that, then you'd solve your problem. If it does go on for two weeks, then obviously you're going to have to make checks for conditions on a per row by row basis then, or just selecting dates that start BETWEEN '2005-05-22 00:00:00' AND '2005-05-22 23:59:59'; That way, you'll at least grab all events that are starting on that day.
Cheers,
MC
__________________
#------------------------------ signature---------------------------------------------------------------------------------#
Quote:
|
I am well recognised for what I don't do than what I do. Chores are just one of those things.
|
Last edited by mastercomputers; 05-20-2006 at 08:33 AM..
|