SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SSIS and Import/Export (2012)
 Loading XML Source TO SQL SERVER 2012 Problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

7 Posts

Posted - 09/29/2013 :  08:39:04  Show Profile  Reply with Quote

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 .


Very Important crosS Applying yaK Herder

52325 Posts

Posted - 09/30/2013 :  08:50:36  Show Profile  Reply with Quote
duplicate of


please dont cross post

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000