How do I catch failed data conversion rows?

I am pulling data from SQL Server and exporting to Excel file.  Using SSIS 2008, sending to Excel 2003.  The process is working fine, and I want to grab any data conversion failures, specifically I want to grab any data that fails or is to be truncated.

I add a flat file destination to the data conversion error line (red) and pointed it to a txt file.  This caused an error, saying some of the columns were the wrong data type to go in a text file.  So I added a data conversion to the first data conversion error line, but the data types wont change.  

The wierd thing, is the error says the columns are DT_NTEXT and need to be DT_TEXT, but they aren't, they are DT_WSTR.  Anyway, I tried to convert to DT_TEXT and it caused the data conversions in my original conversion to change, whcih broke the whole package.

My intention is to grab the erroring row so it can be manually converted. So how do I do that without adding 100 more e

April 29th, 2015 6:47pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics