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

Removing commas and quotes from numeric fields in csv file using SSIS

$
0
0

Hi,

I am creating SSIS package which reads data from a csv file and stores in SQL Server database. There are a few numeric fields in the csv files. They sometimes contain value like"1,008.54"

How do I remove the quotes and comma from the value?

I have successfully separated the rows with this kind of data by using Conditional Split Transformation. (SUBSTRING([Column 9],1,1) == "\"")

After this, I tried using Derived Column Transformation to REPLACE comma and quotes with empty string. But it is not working.

Please advise.

Thanks!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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