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

Flat file in import loop fails read due to bad format, how best to handle without failing package?

$
0
0

Hello,

We have an SSIS 2012 package that imports flat files in a ForEach loop.  Occasionally, the flat file connection fails because the text qualifier--a double-quote character--appears inside a text value on some rows.  How do I handle this error so that the package doesn't fail and other files present can be imported?

I already have an OnError event handler for the entire package, but I don't want it to execute.  Do I use the error precedence constraint (the red arrow) from the Flat File Source to...do something (I don't know what)?  Or do I create an OnError event handler for the data flow task that calls the Email task?

How do I keep the flat file read failure from causing the entire package to fail?

Thanks,
Eric B.


Viewing all articles
Browse latest Browse all 24688


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