dbTalk Databases Forums  

LookUp Error Handling

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


Discuss LookUp Error Handling in the microsoft.public.sqlserver.dts forum.



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

Default LookUp Error Handling - 04-17-2006 , 12:20 AM






Dear All,

I am facing a problem that how to log descriptive error in database or flat
file when lookup failure occurs.

Regards,
Stephen



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: LookUp Error Handling - 04-17-2006 , 08:33 PM






Hello Stephen,

Are you using SSIS? Although by default the Lookup transform will fail when
it fails to get a match, you can change this behaviour by chaging the error
output to either ignore the error or redirect. if you redirect then you
know that the rows that are flowing down the error output are not matched
rows.





Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
Dear All,

I am facing a problem that how to log descriptive error in database or
flat file when lookup failure occurs.

Regards,
Stephen



Reply With Quote
  #3  
Old   
learner via SQLMonster.com
 
Posts: n/a

Default Re: LookUp Error Handling - 04-18-2006 , 12:04 PM



Hi Allan,
I had the same question and I'm using DTS, not SSIS.
My question is how do I capture the database error if the DTSLookkup
statement fails.

Thanks in advance for your help.

Kim.

Allan Mitchell wrote:
Quote:
Hello Stephen,

Are you using SSIS? Although by default the Lookup transform will fail when
it fails to get a match, you can change this behaviour by chaging the error
output to either ignore the error or redirect. if you redirect then you
know that the rows that are flowing down the error output are not matched
rows.

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Dear All,

[quoted text clipped - 3 lines]
Regards,
Stephen
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200604/1


Reply With Quote
  #4  
Old   
Kimberly via SQLMonster.com
 
Posts: n/a

Default Re: LookUp Error Handling - 04-18-2006 , 03:58 PM



Hi Stephen,
Do you have a resolution for this?

Thanks,
Kimberly.

Stephen wrote:
Quote:
Dear All,

I am facing a problem that how to log descriptive error in database or flat
file when lookup failure occurs.

Regards,
Stephen
--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...r-dts/200604/1


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.