Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Unable to pass SQL execute Task Result set values to Data Flow component.


Unable to pass SQL execute Task Result set values to Data Flow component.

Author
Message
Saintmount.Sql
Saintmount.Sql
SSC Rookie
SSC Rookie (43 reputation)SSC Rookie (43 reputation)SSC Rookie (43 reputation)SSC Rookie (43 reputation)SSC Rookie (43 reputation)SSC Rookie (43 reputation)SSC Rookie (43 reputation)SSC Rookie (43 reputation)

Group: General Forum Members
Points: 43 Visits: 507
Hi All,
I’m facing following issue in SSIS package, I need to get records in one table. Then each value should be passed to another query in data flow task.

What I have done so far is,
1) Created execute sql task with full result set as return, ' SELECT G.GROUPID FROM DBO.RPTGROUP G’
2) Created For Each Loop and connect to 1) Foreach.ADO enumerator.ADO obj source
ADO Object source variable selected in drop down list with enumeration mode.
3) Created DF task, in that have OLE DB source query, I will be passing the result values as parameter.

When I executing the package only 1 st value of SQL execute task value passed to for each Data flow source component & executed successfully.

I’ve 3 values in SQL execute task output, but only one value currently passed to Data flow source.
I’ve tested by pacing the script task inside the for each control flow, I will be getting 3 values from SQL execute task.

So for each loop container working fine, but unable to pass all the values to data flow source.

Please help me to pass all the result set value of the SQL task to for each container Data flow source.

Thanks,
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search