Share via

dynamic configuration ssdt

coool sweet 61 Reputation points
2020-08-25T16:28:55.843+00:00

HI,
i need to know if w can change provider and server name without opening and manually changing in package. i have server name in parameter but not provider (sql client 11.1)

i want to change this in 100 package , without opening it , or doing it as change parameter in sql server agent job.
is it possible ?

please let me know.

thanks

SQL Server Integration Services
0 comments No comments

4 answers

Sort by: Most helpful
  1. Monalv-MSFT 5,926 Reputation points
    2020-08-26T03:30:04.66+00:00

    Hi coool sweet,

    1.Please add expression and choose the property that you need in the properties of connection manager.

    2.Then drag the parameter in the Expression of Property.

    3.After deploying these packages, we can change the value of parameter to change the value of the property when executing ssis package in catalog.

    Please refer to Parameterizing Database Connection in SQL Server Integration Services.

    Best Regards,
    Mona


    If the response is helpful, please click "Accept Answer" and upvote it.

    Was this answer helpful?


  2. coool sweet 61 Reputation points
    2020-08-25T17:48:01.86+00:00

    yes my package is using package level connection that has server name as a parameter.

    now i have 200 package which all has server name as a parameter.

    but i dont want to go and change in each package.

    do we have any script that we can run in SSMS and it update parameter all package at once.

    Was this answer helpful?

    0 comments No comments

  3. coool sweet 61 Reputation points
    2020-08-25T17:09:10.43+00:00

    the prob is i have 200 packages to change . is there any way i can change it once?

    Was this answer helpful?


  4. Yitzhak Khabinsky 27,196 Reputation points
    2020-08-25T17:02:02.59+00:00

    Usually, SSIS project is using a project level connection. That connection is re-used by all the SSIS packages in the project. If there is a need for a change that's the spot to go.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.