Dynamic Connection TO DIFFERENT INSTANCES in SQL SERVER SSIS 2008

  • Hi,

    It would be great if someone can help me out.

    I have a table which has a column with list of Instances in it. By calling this table I have a test table which has to go into each instance and same database name in all the instances.

    In simple words, We have a test table which has go into list of instances which are located in a table.

    And database names are same in all the instances.

    The connections should be dynamic.

    can any one help me out with above issue.

    Thanks

  • I see you doing this with a Exec SQL Task to return a full resultset that is used by a For-Each Loop to hold a data-flow task.

    CEWII

  • I agree with Elliott.

    Here is a link on how to do that

    http://www.codeproject.com/KB/database/foreachadossis.aspx

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • I'm saving that link for future use, I hate re-explaining that everytime this question comes up and it seems to come up a lot..

    CEWII

  • 2nd or 3rd time in the last couple of days that I have seen it. It is sometimes easier to just give a reference.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • That reference definitely shows all the steps.

    CEWII

  • Please help me out with the above question. No one answering .

  • varma1412-1092791 (2/16/2010)


    Please help me out with the above question. No one answering .

    An answer and a resource on how to do it was posted. Is the question different than the answer and resource provided?

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • CirquedeSQLeil (2/16/2010)


    varma1412-1092791 (2/16/2010)


    Please help me out with the above question. No one answering .

    An answer and a resource on how to do it was posted. Is the question different than the answer and resource provided?

    Agreed, as you explained your need the posted link is absolutely the resolution.

    CEWII

  • Only problem I see with the solution provided, it doesn't work in SQL Server 7/2000 which is where this post occurs as it is for SSIS, not DTS.

  • Only requirement is that SSIS be installed. If it is installed, it will be able to perform this for SQL 2000.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • I'd say the title pretty clearly says SSIS regarless of what group it was posted to:

    "Dynamic Connection TO DIFFERENT INSTANCES in SQL SERVER SSIS 2008"

    CEWII

  • We have our SSIS packages setup to use dynamic connections. Works great and is easy to do in SSIS. In fact, I think it is easier is SSIS thatn it was in DTS, just seems more difficult because so much can be done dynamically in SSIS.

  • varma1412-1092791 (2/15/2010)


    Hi,

    It would be great if someone can help me out.

    I have a table which has a column with list of Instances in it. By calling this table I have a test table which has to go into each instance and same database name in all the instances.

    In simple words, We have a test table which has go into list of instances which are located in a table.

    And database names are same in all the instances.

    The connections should be dynamic.

    can any one help me out with above issue.

    Thanks

    Just to verify, are you working with SQL Server 7/2000, based on where this thread is posted, or with SQL Server 2008?

Viewing 14 posts - 1 through 13 (of 13 total)

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