Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Loading XML Source TO SQL SERVER 2012 Problem

Author  Topic 

krubug
Starting Member

7 Posts

Posted - 2013-09-29 : 07:54:21
Hello

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?

Thanks,



visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-09-30 : 06:18:13
Can you elaborate on how you've defined the error output currently? may be you could give us an idea on package flow

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -