macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Re: SQL Between dates

Subject: Re: SQL Between dates
From: Ian Skinner
Date: Tue, 17 Jun 2008 12:36:04 -0700
Newsgroups: macromedia.coldfusion.advanced_techniques


projectproofing wrote:
That is what I thought. The toDate is a date/time. How can I cast the arguments as date. I tried CAST(#arguments.startDate# AS Date) but it exploded.

 Oddly TODATE >= #arguments.startDate# works, but <= #arguments.endDate doesn't.


IN CFML it would be createODBCDate() or better yet the <cfqueryparam ...> tags I mentioned in my previous reply.


<Prev in Thread] Current Thread [Next in Thread>