dbTalk Databases Forums  

dtsrun in sql server 7.0 reports success even though task fails

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


Discuss dtsrun in sql server 7.0 reports success even though task fails in the microsoft.public.sqlserver.dts forum.



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

Default dtsrun in sql server 7.0 reports success even though task fails - 12-21-2004 , 11:21 AM






There is a sql task in a dts package that runs a stored procedure which fails
on a primary key constraint while inserting a duplicate row.

If the package is run from the dts designer, it reports an error and follows
the 'on failure' path.

If the package is run with the dtsrun command from a job. the package
reports success and follows the 'on success path'.

I can not find a reference to this in the kb articles. I've also noticed
that this behavior works correctly in sql 2000. I just need a work around for
existing sql 7.0 jobs.

Reply With Quote
  #2  
Old   
Jo
 
Posts: n/a

Default RE: dtsrun in sql server 7.0 reports success even though task fails - 12-30-2004 , 10:43 AM







I've been waiting sind 12/21 for an answer to this question. Can someone
please reply.


"Jo" wrote:

Quote:
There is a sql task in a dts package that runs a stored procedure which fails
on a primary key constraint while inserting a duplicate row.

If the package is run from the dts designer, it reports an error and follows
the 'on failure' path.

If the package is run with the dtsrun command from a job. the package
reports success and follows the 'on success path'.

I can not find a reference to this in the kb articles. I've also noticed
that this behavior works correctly in sql 2000. I just need a work around for
existing sql 7.0 jobs.

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.