SolvedPrivate

Extracting the contents of a full result set from a Execute SQL Task in SSIS

Posted on 2015-01-06
3
24 Views
Last Modified: 2016-02-15
I have successfully used an Execute SQL task to insert the column values of a query into variables when employing a single row result. I would like to do something similar with a full result set. All I have been able to do is populate an object variable. The value of this variable = System._ComObject. I understand that this can be used in other SSIS components like a For Each Loop container. What is the process ? Thanks.
0
Comment
Question by:StampIT
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Vikas Garg earned 500 total points
ID: 40534979
Hello,

In the below article complete process has been shown.


http://www.timmitchell.net/post/2013/05/28/using-the-ssis-object-variable-as-a-result-set-enumerator/

Hope this would help you
0
 

Author Comment

by:StampIT
ID: 40536783
I am in the process of trying this out. Thanks.
0
 

Author Closing Comment

by:StampIT
ID: 40538595
Thanks for the link.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Get the latest status 8 31
SQL Server 2012 r2 - Varible Table 3 24
sql select record as one long string 21 24
Show Results for Latest DateTime in a View 27 25
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question