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

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

krubug
Starting Member

7 Posts

Posted - 09/29/2013 :  07:54:21  Show Profile  Reply with Quote
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

India
52325 Posts

Posted - 09/30/2013 :  06:18:13  Show Profile  Reply with Quote
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
  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