Answered
cfsqltype cf_sql_tinyint Issue
Is this a bug?
The cfsqltype cf_sql_smallint type doesn't work for any integer under 99, but the cfsqltype cf_sql_smallint does.
For example -
<cfset cookie.factId = 1>
<cfquery name="factMatchSelect" dbtype="query">
SELECT
id
FROM
factSelect
WHERE id = <cfqueryparam value="#cookie.factId#" cfsqltype="cf_sql_tinyint">
</cfquery>
