Ummm, not sure why your cookie.theID would shift, but I would say absolutely 
that the CF_SQL_TYPE is designed to match the database column data type, not 
the incoming variable parameter.  The entire point of the CF_SQL_TYPE is to let 
the JDBC driver handle the data pass-through for you in a way that is safe and 
that the database server understands, regardless of what RDBMS you are using.

So, I would agree that there are 2 separate issues: what's gone on with your 
data, independent of the CFQUERY and then ensuring that all CFQUERYPARAMs are 
designed to match your database rather than your application data, which in 
this case just happens to be integer. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322449
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to