> SQL = "select * from photos where datelastmodified between {d
> '2002-03-12'}
> and {d '2002-03-19'}"

I ran into the same problem with a similar query, and this was the
solution for me:

 SELECT *
 FROM cfdirectory_results
 WHERE datelastmodified < '#DateFormat(Now(), 'mm/dd/yyyy')#'

It just needed the DateFormat() function.

        -- Owen

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to