falcon, that'll only work in certain databases, and furthermore, because you're using a function on the date column, the index will be ignored and the query will do a table scan
kevin had the right idea, let coldfusion pass in a date constant, which will allow the database to use the index
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.