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

  • 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,

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply