February 19, 2009 at 9:44 am
Hi-
I have the following steps in a data flow.
1. Flat file source - The output of this task is sent to Data Conversion transform. and the error out is sent to a Flat file destination.
2. Data Coversion Trans. converts text to integer and text to datetime
3. output is written to a OLEDB destination
Requirement/Expectation:
I had a bad date value (12/26/200) in one of the records in flat file and was expecting the package to execute without any error and redirect the row with bad date to the flat file destination. I want the rows except for row with bad date to be loaded into SQL table.
Result/Observation:
1. Package failed
2. Flat file source, Flat file destination and Data Conversion steps were green.
3. OLEDB Destinationn was red
4. All the rows in flat file were directed to data conversion step. It should have skipped the row with bad data and redirected this row to the flat file destination.
5. Package should not have failed
Can someone help me fix this?
February 19, 2009 at 9:47 am
Is your error redirect on the data conversion task?
February 19, 2009 at 6:47 pm
error redirect is on the flat file source task
February 20, 2009 at 2:04 am
Put the error on the data conversion task, as this will be where the data type error will be raised
February 20, 2009 at 8:56 pm
I will give it a try. what if I did not have the data conversion task but wanted to redirect the error rows from extract to flat file destination?
February 20, 2009 at 9:43 pm
Hi Steve-
I configured the error redirect step in data conversion task instead of flat file source. No luck.
thanks!
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply