I have just come across a possible bug in CFMS related to CFQUERYPARAM and
dateTimes

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 

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)

Anyone seen this before?

Neil

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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

Reply via email to