dbTalk Databases Forums  

Conditional execution of DTS packages

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


Discuss Conditional execution of DTS packages in the microsoft.public.sqlserver.dts forum.



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

Default Conditional execution of DTS packages - 11-11-2003 , 07:18 AM






I have 3 tasks in my DTS package - Task 1,2,3 in that order. Task 2
and 3 are execute package tasks. I want to be able to execute task 2
followed by task 3 only for the first time the package is run. For
subsequent runs, task 1 should be followed by task 3. I also want to
be able to schedule the execution of task 1 followed by task 3 every
hour.

Any help in this regard will be appreciated.

- Gayatri

Reply With Quote
  #2  
Old   
Jim
 
Posts: n/a

Default Conditional execution of DTS packages - 11-11-2003 , 09:37 AM






Check out the following link to change the flow control of
a DTS package

http://www.sqldts.com/default.aspx?214,1

The other issues can be solved by using global variables
and ActiveX script tasks.


Quote:
-----Original Message-----
I have 3 tasks in my DTS package - Task 1,2,3 in that
order. Task 2
and 3 are execute package tasks. I want to be able to
execute task 2
followed by task 3 only for the first time the package is
run. For
subsequent runs, task 1 should be followed by task 3. I
also want to
be able to schedule the execution of task 1 followed by
task 3 every
hour.

Any help in this regard will be appreciated.

- Gayatri
.


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.