Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 call a stored proc from dts package

Author  Topic 

cognos79
Posting Yak Master

241 Posts

Posted - 2007-08-02 : 10:12:21
I execute a stored procedure from dts package and I want to fail the dts package if the stored procedure returns 1. How do i check for the return value in dts package and force the package to fail.

ashley.sql
Constraint Violating Yak Guru

299 Posts

Posted - 2007-08-09 : 11:26:08
try to search for RaiseError in help.

You can raiseerror if @value = 1

Ashley Rhodes
Go to Top of Page
   

- Advertisement -