Quantcast
Channel: SQLServerCentral » SQL Server 2008 » SQL Server 2008 - General » Latest topics
Viewing all articles
Browse latest Browse all 16406

Ignore fields with Commas

$
0
0
Hi all,I have a dataflow task that makes an initial connection to a flatfile csv. There are 4 columns ie: | Ref Date | Geo | Comm | Value |Within some of the fields in the Geo and Comm columns there are strings of text that are comma separated which gives me truncation errors. What I want is for SSIS to ignore the commas within these fields but still separate the 4 columns properly. As an example of a field: "Iqaluit, Nunavut". I want this and other fields to be loaded as they are into the db but as I stated, I get truncation errors at connection time. I've played around with ignoring truncation errors but SSIS still separates the fields when I do the db load. Is there a workaround that I can use?

Viewing all articles
Browse latest Browse all 16406

Latest Images

Trending Articles



Latest Images