Upgrade to Cold Fusion 8, Date time stamps in procedures not working
We recently upgraded to Cold Fusion 8, and some of the code we have is now not working correctly.
We generate the date time stamp, and are passing this value to a stored procedure.
Here is the parameter line:
<cfprocparam type="IN" cfsqltype=CF_SQL_TIMESTAMP VALUE=#startDateTime# DBVARNAME=@start>
Where startDateTime when outputted prior to this procedure being ran contains:
{ts '2010-02-09 00:00:00'}
This works on Cold Fusion 7. However, on Cold Fusion 8, I am getting the following error:
Syntax error during implicit conversion of VARCHAR value '2010-02-09 00:00:00.000000000' to a SMALLDATETIME field
On top of the error in general, from what I can tell the value being passes is having the .000000000 portion added on that is not there in the variable.
Any ideas?
