I have a SQL Server stored procedure with an output parameter of type xml
. In my coldfusion code, I'm not sure which cfsqltype
use for the xml variable. I tried using cf_sql_varchar
in the following code:
<cfprocparam cfsqltype="cf_sql_varchar" type="out" variable="result">
But I get the following error:
Implicit conversion from xml to varchar data type is not allowed. Use the CONVERT function to run this query.
Is there a way to handle the xml output option in coldfusion without changing the stored procedure to return varchar instead of xml?
source share