Posted - 09/29/2013 : 08:39:04
I have an XML Source And XSD Witch define the xml schema.
i developed a small ssis package wich use the xml source and the xsd to get one of the tables.
I also built the same table with the prefix ERR to holds data that dont mach with the xsd.
the ssis have two lags - one that Inset correct data and the other (error output) that Insert
Uncorrect to the ERR tables.
The Problem is that UNCorrect data dont insert to the ERR table and Inserted to one that Holds Corrects Records.
is there a way to write records witch not match with XSD to an Error Table?
for example in XSD Field SUG (Type Integer)can get 1 OR 2 OR 3.
in the XML in put in the field SUG the value 4.
I want that this record will enter the ERR table . now it's enter
to the main Table .