In SSIS Convert European Currency Format to United States Currency Format
Posted
by
Rob
on Server Fault
See other posts from Server Fault
or by Rob
Published on 2011-01-07T21:23:54Z
Indexed on
2011/01/07
21:55 UTC
Read the original article
Hit count: 489
I have an interesting problem. I have an SSIS package that processes account data. We are now processing files from Europe. These files are in a CSV format using text qualifiers.
For an example of the problem: In the United States the currency format is 123456.99 (We purposely leave the thousands separator out). The files sent from Europe are coming in with two formats. One is 123456,99 and the other is 123.456,00. SSIS is attempting to parse the text file and place it into a NUMERIC(20,2) field. This causes a parsing error in SSIS even with the text qualifiers. If I change the field to CURRENCY it sends a conversion error.
I would like for SSIS to deal with this directly without requiring the data to be in the United States format. Has anyone had this problem? Any help will be greatly appreciated.
Rob
© Server Fault or respective owner