dbTalk Databases Forums  

DTS Multiple Questions

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


Discuss DTS Multiple Questions in the microsoft.public.sqlserver.dts forum.



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

Default DTS Multiple Questions - 03-09-2005 , 08:47 PM






Hi,

I'd like to know if I could use a SQL task to actually load values into
Global variables, or am I just missing something? I understand how to use
them as passed in arguments to a task, but is it possible to update them
back?

Can you the results of a SQL task into a global variable or is it VBScript
only? How would you access it from another SQL Task?

Can VBScript Tasks use an already created Connection object, instead of
having to build one inside vbscript?

Thanks in advance,



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

Default Re: DTS Multiple Questions - 03-10-2005 , 12:30 AM






Are you looking for something like this

How to loop through a global variable Rowset
(http://www.sqldts.com/default.aspx?298)

Results of an SQL task can be read into a Global variables yes - look
for the parameters button.

No. You cannot point a connection in DTS to a connection in VBScript.
Sure you could substitute in the properties from the connection and use.



"Gary" <clgary (AT) yahoo (DOT) com> wrote


Quote:
Hi,

I'd like to know if I could use a SQL task to actually load values into
Global variables, or am I just missing something? I understand how to use
them as passed in arguments to a task, but is it possible to update them
back?

Can you the results of a SQL task into a global variable or is it VBScript
only? How would you access it from another SQL Task?

Can VBScript Tasks use an already created Connection object, instead of
having to build one inside vbscript?

Thanks in advance,


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.