Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have an SSIS package that inserts data from an XML file.
The Sales header information is added using SQL Task, and it goes to a DataFlowTask
where it loads the XML again using XMLSource, and inserts the subrows to an OLEDB Destination.
The problem here is, If any error happens inside DataFlowTask (Truncation or DataType mismatch), The Package fails, and the header row will remain in the table.
How can I efficiently add errorhandling to remove the header info if the package fails ?
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900