![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In a DTS I want to transfer data only if some conditions are met. I use an ActiveX task to check the conditions. If the conditions are met I return DTSTaskExecResult_Success, DTSTaskExecResult_Failure otherwise. My problem is in case the conditions are not met, the ActiveX task returns Failure and the step is shown as failed. When I run the DTS as a child of another DTS, it shows the package failed, which can be confusing. |
#3
| |||
| |||
|
|
"fleo" <fleo (AT) discussions (DOT) microsoft.com> wrote in message In a DTS I want to transfer data only if some conditions are met. I use an ActiveX task to check the conditions. If the conditions are met I return DTSTaskExecResult_Success, DTSTaskExecResult_Failure otherwise. My problem is in case the conditions are not met, the ActiveX task returns Failure and the step is shown as failed. When I run the DTS as a child of another DTS, it shows the package failed, which can be confusing. You can skip the execution of a step without returning Failure. Read http://www.sqldts.com/?214 Hope this helps -- Francesco Anti |
![]() |
| Thread Tools | |
| Display Modes | |
| |