dbTalk Databases Forums  

wait for next step

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


Discuss wait for next step in the microsoft.public.sqlserver.dts forum.



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

Default wait for next step - 04-04-2006 , 09:41 AM






I have a step in a DTS package that needs to run for ~5 mins before going on
to the next step. What task can be inserted between step1 and step2 to
accomplish this?

Reply With Quote
  #2  
Old   
Shannon McLemore
 
Posts: n/a

Default RE: wait for next step - 04-04-2006 , 11:52 AM






You can insert a Execute SQL Task within the two steps and the execute the
following SQL:

WAITFOR DELAY '00;00:15'

to wait for 15 seconds.

"SQLCat" wrote:

Quote:
I have a step in a DTS package that needs to run for ~5 mins before going on
to the next step. What task can be inserted between step1 and step2 to
accomplish this?

Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default RE: wait for next step - 04-04-2006 , 02:11 PM



Hello Shannon,

That will only cause that one step to wait for 15 seconds not make the originally
executing step execute for 15 seconds before moving on.


AFAIK you cannot insert a step between A nd B to make A only run for 5 minutes
before moving on.


What is it that you want to execute for 5 mins then move on?


To do this nicely I think you will have to manage the timings within the
original step





Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

Quote:
You can insert a Execute SQL Task within the two steps and the execute
the following SQL:

WAITFOR DELAY '00;00:15'

to wait for 15 seconds.

"SQLCat" wrote:

I have a step in a DTS package that needs to run for ~5 mins before
going on to the next step. What task can be inserted between step1
and step2 to accomplish this?




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.