dbTalk Databases Forums  

DTS conditionally execute steps within a package

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


Discuss DTS conditionally execute steps within a package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ycmahesh@gmail.com
 
Posts: n/a

Default DTS conditionally execute steps within a package - 06-27-2005 , 07:54 PM






I have to create a dts package which moves data for some tables from
Server A to Server B and C. There is a flag in Server A in some lookup
table which indicates whether Server B is available or not. Similarly
there is a availability flag for Server C stored in Server A. Data
should be moved from Server A to Server B or C only if the
corresponding server available flag is stored as true in the lookup
table on Server A. How to create the package which first checks if
Server B is available and then executes data transfform tasks to move
data from Server A to B. If Server B is not available it should then do
a similar check for Server C and execute the data transform tasks. If
both the servers B and C are not available then it shouldn't execute
any of the data transform tasks. I do not prefer creating multiple
packages one for each of the destination servers.


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

Default Re: DTS conditionally execute steps within a package - 06-28-2005 , 12:17 AM






You will want to look at something like this to do the conditional parts.

Multiple Paths in Workflow
(http://www.sqldts.com/default.aspx?218)

You can read the values to test in a number of way (Dynamic Properties Task,
Execute SQL Task etc)

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


<ycmahesh (AT) gmail (DOT) com> wrote

Quote:
I have to create a dts package which moves data for some tables from
Server A to Server B and C. There is a flag in Server A in some lookup
table which indicates whether Server B is available or not. Similarly
there is a availability flag for Server C stored in Server A. Data
should be moved from Server A to Server B or C only if the
corresponding server available flag is stored as true in the lookup
table on Server A. How to create the package which first checks if
Server B is available and then executes data transfform tasks to move
data from Server A to B. If Server B is not available it should then do
a similar check for Server C and execute the data transform tasks. If
both the servers B and C are not available then it shouldn't execute
any of the data transform tasks. I do not prefer creating multiple
packages one for each of the destination servers.




Reply With Quote
  #3  
Old   
Peter Row
 
Posts: n/a

Default Re: DTS conditionally execute steps within a package - 08-09-2005 , 08:09 AM



Hi,

None of the links involving www.sqldts.com or www.sqlis.com work.
All you get is an empty page on WinXP SP2 IE6 and Mozilla Firefox.

Regrads,
Peter
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
You will want to look at something like this to do the conditional parts.

Multiple Paths in Workflow
(http://www.sqldts.com/default.aspx?218)

You can read the values to test in a number of way (Dynamic Properties
Task, Execute SQL Task etc)

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


ycmahesh (AT) gmail (DOT) com> wrote in message
news:1119920069.722154.173350 (AT) z14g2000cwz (DOT) googlegroups.com...
I have to create a dts package which moves data for some tables from
Server A to Server B and C. There is a flag in Server A in some lookup
table which indicates whether Server B is available or not. Similarly
there is a availability flag for Server C stored in Server A. Data
should be moved from Server A to Server B or C only if the
corresponding server available flag is stored as true in the lookup
table on Server A. How to create the package which first checks if
Server B is available and then executes data transfform tasks to move
data from Server A to B. If Server B is not available it should then do
a similar check for Server C and execute the data transform tasks. If
both the servers B and C are not available then it shouldn't execute
any of the data transform tasks. I do not prefer creating multiple
packages one for each of the destination servers.






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.