I have an ID (primary key) set as a BIGINT in SQL SERVER. I
have a query with the following:
WHERE whateverid = <cfqueryparam
cfsqltype="cf_sql_integer" value="#URL.id#">
I then got an invalid data type for it. I then tried:
WHERE whateverid = <cfqueryparam cfsqltype="cf_sql_bigint"
value="#URL.id#">
I still got an invalid data type for it. i then tried:
WHERE whateverid = <cfqueryparam cfsqltype="cf_sql_int"
value="#URL.id#">
and it worked.
The weird thing is cf_sql_int is not even listed as being
accepted:
http://www.adobe.com/livedocs/coldfusion/5.0/CFML_Reference/Tags79.htm
Can some explain this to me.