hello,
i am getting the following errors in my SSIS Package :
and
This error happens with all my package variables with DataType = Double.
My package is composed by a Data Flow Task which loads a SQL Statement into a recordset, and a ForEach Loop which loops through the recordset.
I mapped the package variables to the recordset fields. When the package tries to execute the ForEach loop, it runs into the conversion errors.
The recordset fields come from float type fields in a SQL database. If I look in the Advanced editor for Recordset destination, I see the fields have a datatype of DT_NUMERIC ! But the values are float (e.g. 2541.3) so I think the recordet task is not detecting the correct type.
I hope I have been clear enough.
any help much appreciated
i am getting the following errors in my SSIS Package :
Code:
Error: ForEach Varaible Mapping 3 to variable "myVariable" cannot be applied.
and
Code:
Error: The type of the value being assigned to variable "myvariable" differs from the current variable type. Varaibles may not change during execution...
This error happens with all my package variables with DataType = Double.
My package is composed by a Data Flow Task which loads a SQL Statement into a recordset, and a ForEach Loop which loops through the recordset.
I mapped the package variables to the recordset fields. When the package tries to execute the ForEach loop, it runs into the conversion errors.
The recordset fields come from float type fields in a SQL database. If I look in the Advanced editor for Recordset destination, I see the fields have a datatype of DT_NUMERIC ! But the values are float (e.g. 2541.3) so I think the recordet task is not detecting the correct type.
I hope I have been clear enough.
any help much appreciated