Yes... is this not a desired action?  You have CF_SQL_TIMESTAMP,
CF_SQL_DATE & CF_SQL_TIME... covers all bases no?

-----Original Message-----
From: Neil Middleton [mailto:[EMAIL PROTECTED] 
Sent: 01 August 2003 12:33
To: CF-Talk
Subject: CFQUERYPARAM and date/time values


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

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

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

Reply via email to