dbTalk Databases Forums  

On SSIS Insert Error - How do you extract the offending record

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss On SSIS Insert Error - How do you extract the offending record in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rfinlay
 
Posts: n/a

Default On SSIS Insert Error - How do you extract the offending record - 02-06-2006 , 04:56 PM






Moving data from a Sybase (source) database to a SQLServer (destination)
database. Some of the inserts are failing and I have been able to get the
following kind of info on the offending row(s).

Description: "The Bulk Load failed. Unexpected NULL value in data file row
22 column 3. The destination column (phone) is defined as NOT NULL."

What I need to be able to do is capture the source record so that I can
redirect it to some sort of log. This would allow me to identify the
offending record to my business clients who would then be able to fix it so
that it did not fail on the next iteration.

Any help would be appreciated.

Thanks





Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: On SSIS Insert Error - How do you extract the offending record - 02-07-2006 , 05:54 PM






rfinlay wrote:
Quote:
Moving data from a Sybase (source) database to a SQLServer (destination)
database. Some of the inserts are failing and I have been able to get the
following kind of info on the offending row(s).

Description: "The Bulk Load failed. Unexpected NULL value in data file row
22 column 3. The destination column (phone) is defined as NOT NULL."

What I need to be able to do is capture the source record so that I can
redirect it to some sort of log. This would allow me to identify the
offending record to my business clients who would then be able to fix it so
that it did not fail on the next iteration.

Any help would be appreciated.

Thanks


Have you tried using Error outputs? You have the ability to re-direct
failing rows to a special error output. Try scanning Books Online for an
overview first.

--
Darren
http://www.sqldts.com
http://www.sqlis.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.