dbTalk Databases Forums  

Get Data of Recordset (execute sql-task) back in a table

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


Discuss Get Data of Recordset (execute sql-task) back in a table in the microsoft.public.sqlserver.dts forum.



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

Default Get Data of Recordset (execute sql-task) back in a table - 05-04-2004 , 04:03 PM






Hi,

i have a ExecuteSQL-Task thats Select some Data from a Source-Connection and
store it in a Global Variable as a Recordset.

Now I want to simply put the whole Data in a table with a different
connection. The only way I know it works is with an ActiveX-Task and a
ADO-Recordset.

Now the QUESTION: Is it possible to do this with a second EXECUTESQL-Task ?
(Insert into...) ?

Thanks,
Matthias



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

Default Re: Get Data of Recordset (execute sql-task) back in a table - 05-04-2004 , 04:47 PM






In message <#T3ILthMEHA.2704 (AT) TK2MSFTNGP10 (DOT) phx.gbl>, Matthias
<spame (AT) mkrause-it (DOT) de> writes
Quote:
Hi,

i have a ExecuteSQL-Task thats Select some Data from a Source-Connection and
store it in a Global Variable as a Recordset.

Now I want to simply put the whole Data in a table with a different
connection. The only way I know it works is with an ActiveX-Task and a
ADO-Recordset.

Now the QUESTION: Is it possible to do this with a second EXECUTESQL-Task ?
(Insert into...) ?

Thanks,
Matthias


Can an Execute SQL Task consume an ADO recordset? No, I'm afraid not.
The Exec SQL Task global variable rowset/recordset deal is one way.

--
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.