dbTalk Databases Forums  

Using Global variable rowset in T-SQL

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


Discuss Using Global variable rowset in T-SQL in the microsoft.public.sqlserver.dts forum.



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

Default Using Global variable rowset in T-SQL - 12-17-2003 , 02:58 AM






I am assigning the results from a query into a global variable rowset and
then running another package and passing that rowset over.

Can I in the called package use the rowset within a Execute SQL Task rather
than having to loop through it programatically in an ActiveX.

Cheers



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

Default Re: Using Global variable rowset in T-SQL - 12-17-2003 , 03:43 AM






Not as far as I know. There is no "Rowset" source

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Spud_Monkey" <spudmonkey (AT) aol (DOT) com> wrote

Quote:
I am assigning the results from a query into a global variable rowset and
then running another package and passing that rowset over.

Can I in the called package use the rowset within a Execute SQL Task
rather
than having to loop through it programatically in an ActiveX.

Cheers





Reply With Quote
  #3  
Old   
Darren Green
 
Posts: n/a

Default Re: Using Global variable rowset in T-SQL - 12-17-2003 , 01:41 PM



In article <#IjMtvHxDHA.3436 (AT) tk2msftngp13 (DOT) phx.gbl>, Spud_Monkey
<spudmonkey (AT) aol (DOT) com> writes
Quote:
I am assigning the results from a query into a global variable rowset and
then running another package and passing that rowset over.

Can I in the called package use the rowset within a Execute SQL Task rather
than having to loop through it programatically in an ActiveX.

Cheers

Something you might like to look at is the DTSPackageDSO provider.

Search in Books Online for "DTSPackageDSO".

Personally I would take a step back and consider what really needs to be
done here, and see if things have just got a bit over complicated.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.