all groups > sql server dts > january 2006 >
You're in the

sql server dts

group:

dts execution question


dts execution question Ilann
1/13/2006 10:34:02 AM
sql server dts:
Hi,



Could someone explain me the difference between calling the execute method
of a DTSStep_DTSActiveScriptTask and setting its execution status to
DTSStepExecStat_Waiting?



Thanks



--Ilann

Re: dts execution question Allan Mitchell
1/14/2006 4:44:36 AM
Hello Ilann,

The first says to fire the step. I have never had to explicitly call this
method although I have seen others ask for this. The second basically tells
the package that this step still has work to do and it is waiting to do it.
A popular implementation of this is when you want to perform loops.

Here is an example

Looping, Importing and Archiving
(http://www.sqldts.com/default.aspx?246)


Allan


[quoted text, click to view]

AddThis Social Bookmark Button