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

Redirect bad rows to some text file in a DFT

$
0
0

Hi,

In my DFT, I am redirecting rows which is not satisying conditons like can cause error like turncate, data type mismatch or duplicate. I am successfully able to store such records in  a text file. And I am storing this info in a sql table also as how many rows are redirected by which package. I want to log the error or cause why these rows redirected .

On Event Handler- On Error, I am getting the exact reason in  system variable  "Error Description"  and if i could use this varibale , my work would have done but neither my package is getting failed (coz of this redirecting of bad records to logfile.txt) or throw any error  nor I am getting this  system variable in my event handler-  On PostExecute.  Any other way to  find this info- Error Info


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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