It's Friday, we're out of coffee at work & I can't think straight...

I've got a promotions table with start & end dates. I'd like to make sure
that any *new* promotion does not overlap any existing promotion w/in the
database.

Promotion Start Promotion End
1/1/2005                1/15/2005
1/16/2005               1/31/2005
2/1/2005                3/31/2005
5/1/2005                5/31/2005

What would be the easiest way write a query to determine if FORM.PStartDate
and FORM.PEndDate won't overlap an existing query?

TIA, Che


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213844
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to