Dan Bracuk wrote:
> Every datediff function I know about requires a datepart
(day, month, year, etc). I don't see any in yours.
As well as not providing the proper syntax for a dateDiff()
function, as
far as I know, dateDiff() is a ColdFusion function an in the
place you
are using it in the SQL statement you need a Database
Function, and
every database management system have their own set of date
functions.
The documentation of yours will tell you all about them.