Neil Middleton wrote:
> 
> If you specify a QueryParam with a CFSQLType passing in an ODBCDateTime
> strange things happen..
> 
> e.g
>       Pass in an ODBCDateTime with a cfsqltype of CF_SQL_DATE and CF will
> ignore the time part of the ODBCDateTime 
>       Pass in an ODBCDateTime with a cfsqltype of CF_SQL_TIME and CF will
> ignore the date part of the ODBCDateTime 

Both are intended behaviour.


> It would seem the only way to fix this is to either not have a QueryParam on
> the value, or not specify a CFSQLTYPE  (although I haven't checked the
> latter)

Just specify the right cfsqltype. If you want the database to get 
a timestamp, specify a timestamp.

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to