<cfstoredproc datasource="test" procedure="myProc
<cfprocparam type = "IN" CFSQLType="cf_sql_longvarchar" value= "var_in_clause" maxLength="4000" dbVarName = "@in_clause" null="no">
</cfstoredproc>
Throws this error
[Macromedia][SQLServer JDBC Driver][SQLServer]Syntax error converting the varchar value 'var_in_clause' to a column of data type smallint.
<cfoutput>#var_in_clause#</cfoutput>
gives
5003,5002,5001,5000,45,44,43,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11
The stored proc runs fine when I run it from the query analyzer
Any ideas?
<cfprocparam type = "IN" CFSQLType="cf_sql_longvarchar" value= "var_in_clause" maxLength="4000" dbVarName = "@in_clause" null="no">
</cfstoredproc>
Throws this error
[Macromedia][SQLServer JDBC Driver][SQLServer]Syntax error converting the varchar value 'var_in_clause' to a column of data type smallint.
<cfoutput>#var_in_clause#</cfoutput>
gives
5003,5002,5001,5000,45,44,43,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11
The stored proc runs fine when I run it from the query analyzer
Any ideas?