在ssis中从外部配置文件设置变量
Set variable from external config file in ssis
在 SSIS 中,我想从外部配置文件设置变量值。假设我有 [User::FullPath] 变量,我想从外部配置文件设置它的值,这样我就可以动态更改我的路径。
您还没有具体说明您需要这个 "variable" 的用途,这对答案很重要。
无论如何,据我所知,这取决于您在SSIS上的部署模型。
- 项目部署模型
- 包部署模型
Integration Services supports two deployment models, the project deployment model and the legacy package deployment model. The project deployment model enables you to deploy your projects to the Integration Services server.
Deploy Integration Services (SSIS) Projects and Packages
包部署模型
Legacy Package Deployment (SSIS)
参见 "Package Configurations"。
对于项目部署模型
Setup Environment Variables in SQL Server Integration Services
在 SSIS 中,我想从外部配置文件设置变量值。假设我有 [User::FullPath] 变量,我想从外部配置文件设置它的值,这样我就可以动态更改我的路径。
您还没有具体说明您需要这个 "variable" 的用途,这对答案很重要。
无论如何,据我所知,这取决于您在SSIS上的部署模型。
- 项目部署模型
- 包部署模型
Integration Services supports two deployment models, the project deployment model and the legacy package deployment model. The project deployment model enables you to deploy your projects to the Integration Services server.
Deploy Integration Services (SSIS) Projects and Packages
包部署模型
Legacy Package Deployment (SSIS)
参见 "Package Configurations"。
对于项目部署模型
Setup Environment Variables in SQL Server Integration Services