Losing precision converting to decimal from string!
hello!
i´m having trouble converting values represented strings decimal data type.
i have flat file source, read currency rates represented without decimals.
before sending values sql server destination, want convert them represent correct values.
an example clarify:
if source contains column named "curr_rate" value 000092500 want send
to destination 9,2500.
so set dervied column component, converting value so:
((dt_numeric,9,4)curr_rate)/10000
my problems precision lost, , that´s sent destination table 9,0000.
how should go convert strings without losing precision in process?
thanks in advance!
SQL Server > SQL Server Integration Services
Comments
Post a Comment