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

Import CSV with decimal point (12.99) and loads (1299,00)

$
0
0

Hi,

In Germany, decimal numbers are separated by commas and thousands by points. Developing my SSIS package I face this problem.

I have a flat file in csv fields separated by commas. A column in my table is decimal. The csv brings the number with a dot (12.99). Each time it is loaded on the table it comes as 1299.00

In the data flow I already tried in several ways. In the connection manager, I set this field as DT_DECIMAL with datascale as 2 and dataprecision 0 (because it is not available), as well as DT_NUMERIC with datascale 2 and dataprecision as 10. None works, it is always the same.

What I can do? Some help?

Thanks in advance

Alex


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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