Mark, let us know what you find. Thanks. -----Original Message----- From: Mark A Kruger [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 10:14 AM To: CF-Talk Subject: RE: What would be the easiest way to write this query?
Jerry, Althought "overlaps" is a reserved word in sql, the operand is not implemented. I'm looking for an equivelant now. -mk -----Original Message----- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 9:11 AM To: CF-Talk Subject: Re: What would be the easiest way to write this query? Does this work on SQL Server 2000? On 8/5/05, Jochem van Dieten <[EMAIL PROTECTED]> wrote: > The following query will return all overlapping promotions: > SELECT * > FROM table > WHERE (#FORM.PStartDate#, #FORM.PEndDate#) OVERLAPS > (promotionEnd, promotionStart) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:213854 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

