Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Disconnect a Particular Task to Keep From Executing 1

Status
Not open for further replies.

JohnBates

MIS
Feb 27, 2000
1,995
US
hi experts,

SQL Server 2000

I want to "preserve" some ActiveX code within the package - but I don't want this ActiveX Script task to execute when the package runs.

I have removed the Workflow arrow, but the task still executes.

How can I "disconnect" this task from the package execution,
yet leave it visible when I go into DTS Design mode?

I guess I could copy the code into a Text Annotation block, if nothing else will work.

Thanks very much.
John

 
Create a dummy step with a select 'hello' in it. Set a condition from the dummy step to your active X step to on failure. The activeX step won't ever run that way (unless the SQL Server is down or something).

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Thanks for the valuable tip, SQLDenis !

I tested your suggestion - it works perfectly.

John
 
No problem and thanks for the star
I worked with DTS for 2 years before I found out about it, what I used to do is comment out the ActiveX code and leave just this uncommented

Main = DTSTaskExecResult_Success

that works too BTW

Denis The SQL Menace
SQL blog:
Personal Blog:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top