SolvedPrivate

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

Posted on 2015-01-06
3
27 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

688 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