Pass Variables to Project Parameters in SSIS

妖精的绣舞 提交于 2019-12-23 10:15:16

问题


I am new to this network. Hoping I'll find an answer to this problem.

I have a SSIS Project with multiple Packages which are using the Project Parameters. I am trying to update the Project Parameters e.g. @PeriodStart: 2014-05-31. I can't find a way to dynamically write to the Project Parameter.

I am using Visual Studio 2010 in 4.0 Framework. Please can anyone shed light on this ?!

Kind Regards Bal


回答1:


Project parameters are read only. What you are after is to assign variables depending on the project parameters and then read the variables. An overview of variables and parameters is here:

http://social.technet.microsoft.com/wiki/contents/articles/22194.use-ssis-variables-and-parameters-in-a-script-task.aspx

For example, you could add a script task to the control flow and then read in the project parameters, assign a readwrite variable to the script task and then use this variable.



来源:https://stackoverflow.com/questions/25062085/pass-variables-to-project-parameters-in-ssis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!