dbTalk Databases Forums  

Can a task be set up to run based on the value of a parameter ?

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


Discuss Can a task be set up to run based on the value of a parameter ? in the microsoft.public.sqlserver.dts forum.



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

Default Can a task be set up to run based on the value of a parameter ? - 07-01-2006 , 02:52 PM






I set up one DTS job to run for two different groups. There are some tables
which should not be loaded for one of the groups. For the stored
procedures, I pass a parameter and then based on the parameter the stored
procedure executes the required code. For the data transform tasks, is there
a way to test a variable and then execute or not execute a specific data
transform task based on the value of that variable ?

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

Default Re: Can a task be set up to run based on the value of a parameter ? - 07-01-2006 , 02:56 PM






Hello rmcompute,

Sure

You are looking at conditional workflow. In your case you would probably
use an Active Script Task and see if the variable is populated. if it is
then you can enable one path in your package and disable the other + vice
versa


Allan

Quote:
I set up one DTS job to run for two different groups. There are some
tables which should not be loaded for one of the groups. For the
stored procedures, I pass a parameter and then based on the parameter
the stored procedure executes the required code. For the data
transform tasks, is there a way to test a variable and then execute or
not execute a specific data transform task based on the value of that
variable ?




Reply With Quote
  #3  
Old   
rmcompute
 
Posts: n/a

Default Re: Can a task be set up to run based on the value of a parameter - 07-01-2006 , 03:51 PM



Thank you Allan.

"Allan Mitchell" wrote:

Quote:
Hello rmcompute,

Sure

You are looking at conditional workflow. In your case you would probably
use an Active Script Task and see if the variable is populated. if it is
then you can enable one path in your package and disable the other + vice
versa


Allan

I set up one DTS job to run for two different groups. There are some
tables which should not be loaded for one of the groups. For the
stored procedures, I pass a parameter and then based on the parameter
the stored procedure executes the required code. For the data
transform tasks, is there a way to test a variable and then execute or
not execute a specific data transform task based on the value of that
variable ?





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.