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

Records with comma in flat file (SSIS 2008R2)

$
0
0

I am using flat file as a source to pull the record and store it in another flat file. All records are getting loaded except for the records where comma is there in a particular row

I am pulling one field "Volume" and converting it into Decimal in Derived Column

(DT_NUMERIC,12,0)Volume

Below is the sample record:


	40	May6	23Mar2016	.25	2,227	23Mar2016	0
	40.5	May6	23Mar2016	.42	39	23Mar2016	0
	40.5	May6	23Mar2016	.45	676	23Mar2016	0
	41	May6	23Mar2016	.23	245	23Mar2016	0
	41	May6	23Mar2016	.76	538	23Mar2016	0

Package is pulling every record except the first record where volume value is 2,227.

But when i remove comma from the record (2,227 to 2227) it pulls the record. Is there any reason that why it is not pulling the records with comma.





Viewing all articles
Browse latest Browse all 24688

Trending Articles



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