Well I'll be damned. It looks like that worked. Thanks. Here's the magic code:
<cfset checkdate = DateFormat(DateAdd("d",1,Now()),'yyyy-mm-dd')> <cfquery ...> .. WHERE AUTHORIZATION_EMAIL_NEXT_DATE < <cfqueryparam cfsqltype="CF_SQL_TIMESTAMP" value="#Variables.checkdate#"> > -----Original Message----- > From: Jochem van Dieten [mailto:jochemd@;oli.tudelft.nl] > Sent: Wednesday, October 30, 2002 9:36 AM > To: CF-Talk > Subject: Re: CF4.5/5 cfqueryparam differences > > > Quoting "Everett, Al" <[EMAIL PROTECTED]>: > > > > I'm finding an issue with how 4.5 and 5 treat DATE columns using > > CFQUERYPARAM. > > > > I have the following (snippet) in one of my queries: > > > > AND > > AUTHORIZATION_EMAIL_NEXT_DATE < <cfqueryparam > > cfsqltype="CF_SQL_DATE" value="#CreateODBCDate("10/31/2002")#"> > > > > In CF4.5 this throws an error: CFQUERYPARAM data conversion error > > In CF 4.5 I don't have a problem if I use value="yyyy-mm-dd" > But it may be a driver issue, YMMV. > > Jochem > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm