dbTalk Databases Forums  

Global variable results

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


Discuss Global variable results in the microsoft.public.sqlserver.dts forum.



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

Default Global variable results - 02-24-2005 , 01:50 PM






Hi

I have a SQL Task which simply selects a row from a table based on an input
parameter. The result of this is then assigned to a global varaiable.

How do I then run another task based on the result of the global variable
i.e. if variable has a value then run task else if 0 then skip to next
task.?

Also I will probably have around 30 or more bulk insert tasks, will this
have an adverse affect on performance if I have these all in the saem
apckage?

Thanks alot



Reply With Quote
  #2  
Old   
Francesco Anti
 
Posts: n/a

Default Re: Global variable results - 02-25-2005 , 08:59 AM






See
http://www.sqldts.com/default.aspx?214
or
http://msdn.microsoft.com/library/de...kflow_0793.htm

Francesco Anti

"gordo" <gordo (AT) mail (DOT) com> wrote

Quote:
Hi

I have a SQL Task which simply selects a row from a table based on an
input
parameter. The result of this is then assigned to a global varaiable.

How do I then run another task based on the result of the global variable
i.e. if variable has a value then run task else if 0 then skip to next
task.?

Also I will probably have around 30 or more bulk insert tasks, will this
have an adverse affect on performance if I have these all in the saem
apckage?

Thanks alot





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.