dbTalk Databases Forums  

Which Rows Failed & Exceptions Handler

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


Discuss Which Rows Failed & Exceptions Handler in the microsoft.public.sqlserver.dts forum.



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

Default Which Rows Failed & Exceptions Handler - 08-11-2004 , 09:14 PM






I need to write to the error log when there is an error
row against target db, e.g. constraint violation, of my
DTS job, and to keep loading for the rest of the rows.
Are I tell my target db which rows it failed but continue
to load?

When are my options to handle exceptions?

Are there good samples out there to handle exceptions?
Can my exception event driven?

Thanks.



Reply With Quote
  #2  
Old   
Jacco Schalkwijk
 
Posts: n/a

Default Re: Which Rows Failed & Exceptions Handler - 08-12-2004 , 07:31 AM






If you look at the Options tab of the Transform Data Task properties, you
see you specify where to log the errors that occur during the
transformation. You can also set the number of errors to allow before
failure.

Exception handling dependent very much on what kind of exceptions you have.
In general the target should be that your DTS package can handle all data
that it has to import. I assume you have some kind of specification, even if
it is incomplete, for the data that you are importing?

--
Jacco Schalkwijk
SQL Server MVP


"C TO" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I need to write to the error log when there is an error
row against target db, e.g. constraint violation, of my
DTS job, and to keep loading for the rest of the rows.
Are I tell my target db which rows it failed but continue
to load?

When are my options to handle exceptions?

Are there good samples out there to handle exceptions?
Can my exception event driven?

Thanks.





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.