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

Variable problem, Error: The type of the value being assigned to variable

$
0
0

Error: The type of the value being assigned to variable "User::rsNumOfPages" differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object.

My original field comes from Oracle 10g database and is of NUMBER type Number(5).   In my select statement i used CAST(fieldname as NUMBER(5,0))...looking at the output properties, it converted to DT_NUMERIC.  In properties...Advanced Editor INPUT/OUTPUT Ive tried various variable types...but no success.  The variable - User::rsNumOfPages is datatype "Double".

Also verified that the column from my tables does not return null values.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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