Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Error when passing a decimal variable as an output parameter for an Execute SQL Task - SSIS 2014-2016

$
0
0

Hi,

inside a SSIS 2014 project I've created a decimal variable that I need to pass as an output parameter for an Execute SQL Task.

I've defined this output parameter as a decimal one, but when I run the task I've this error:

[Execute SQL Task] Error: Executing the query "SELECT ? = xxxxxx..." failed with the following error: "Unspecified error". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

The same task goes in error also choosing NUMERIC as a data type. It functions rightly when I choose CURRENCY as a data type for the output parameter.

It seems strange that for a decimal variable I need to specify CURRENCY as a data type for the output parameter to pass an Execute SQL Task; it is natural to choose DECIMAL as a data type.

Any suggests to me, please? Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>