Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Can't convert DT_NUMERIC to NUMERIC in SQL Server

Author  Topic 

jack10063
Starting Member

5 Posts

Posted - 2013-08-19 : 10:53:25
Hi,

I am having problems to when I define column data type as DT_NUMERIC in Data Tools. I am reading in a flat source fíle, then replacing some columns using Derived Column with an expression: (DT_NUMERIC,18,10)(REPLACE(nominal,".",",")), then I have a Data Conversion where I have a data type DT_NUMERIC. But when I try to get the data into SQL Server I am getting an error saying that the data can't be converted. I have defined the columns as Numeric(18,10) in SQL Server. Everything works fine If I I define data type as FLOAT in Data Tools and in SQL Server.

Any ideas what am I missing? Is there a problem with my source file?

br,
Jack
   

- Advertisement -