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

(Bug) Commas in decimal values (European format), Excel output error in Data Flow

$
0
0

Let me show you briefly what I mean:

17,4,0,39600000000000002,1

When I read from an Excel file source this happens:

17 goes into a column, 4 goes into another column, and here is the problem: 0,39600000000000002 is supposed to go into one column, but due to the fact that the decimals are not US formatted, zero (0) goes into one column and the rest of the number 39600000000000002 goes into another column. This creates a whole lot of output errors with skewed column numbers (error column actually is misaligned from the rest and it throws the error: "the data value cannot be converted for reasons other than sign mismatch or data overflow" 

The only solution was to change the regional format on the SQL server host to US format.

Excel connection manager does not have any customization options that the Flat file connection manager has. 

How can I make the Excel file be read in SSIS while taking something other than a comma as a separator?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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