hi all,
i am extracting .csv file into the sql table using ssis. here is the problem
i have string type values 3.25, 4.25, 3.56 etc for one column,rate, and string type values 1380.00, 1420.00, 610.00 for aother column,ind. and in my corresponding sql table i've created the table with column rate and ind with same datatype numeric(10,2). i am trying to cast this from string to numeric in ssis derived column but the package fails with type cast error.
I want the result to be displayed as same as in source but in numeric datatype for later use.
this is what i tried
(DT_NUMERIC,10,2)((DT_I4)rate / (DT_NUMERIC,10,2)100) but it fails at the derived column with the following error
[Derived Column [107]] Error: An error occurred while attempting to perform a type cast.so please help me out here in writing this expression to get the correct value
thanks