Unfortunately nobody really has much knowledge about this source database, so while I was told that the incoming data was a FLOAT, it is appearing like that is not the case.
I have an incoming field with some sort of numeric datatype, and its value is 101.15000000000001
I need to get this into a SQL destination column of type numeric(6,4). The problem is that no matter what conversion I try, I continue to get type casting errors (0x80004005, or 0xc0049064). My current expression for the field is:
(DT_NUMERIC,6,4)MY_FIELD
When I try to cast the value in SQL with this type I get an arithmetic overflow error, so I tried
(DT_NUMERIC,6,2)MY_FIELD
This effectively truncates in SQL, however, I still get an error in SSIS. Any ideas on how I can truncate or round this value and get it into the numeric(6,4) data type?