dbTalk Databases Forums  

Error description from DDQ OnInsertFailure

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


Discuss Error description from DDQ OnInsertFailure in the microsoft.public.sqlserver.dts forum.



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

Default Error description from DDQ OnInsertFailure - 06-23-2004 , 12:20 PM






Hello!
I have scanned my DTS book and several sites and have not been able to find this. I am logging the insert or transform errors in SqlServer, but cannot figure out how to access the specific error message (the one that comes up in the text log file) like "..insert of x column failed because of NULL .. ".

The closest was an Error Code from the DTSTransformPhaseInfo object, but I have no idea what error description this correlates to or even if it is the same error. I am sure this can be accessed from *somewhere*, since after all, it is being written to the exception file.

(I had to go through this exercise to begin with because I need to continue processing subsequent rows if I encounter an error as well as save details on the error rows. SqlServer replaces rather than appends information in the .Dest and .Source tables that capture row details (when the package is re-executed). Secondly, it appears that only DTSTransformStat_OK continues further processing BUT this does not write details to the exception file.)

Any help will be much appreciated!
Aarti

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.