SSIS Config using SQL tables
September 3, 2010 Leave a comment
You need a SQL db e.g. SSIS_Config
Then create this table…
create
table SSIS_Configurations
(
ConfigurationFilter
VARCHAR(100) NOT NULL,
PackagePath
NVARCHAR(255) NOT NULL,
ConfiguredValueType
NVARCHAR(20) NOT NULL,
ConfiguredValue
NVARCHAR(1000) NULL
)
Create an environment system variable called eg. SSIS_ROOT
Enter the connection string to the above db into the value
eg. Data Source=.\SQL2008; Initial Catalog=SSIS_Config; Provider=SQLNCLI10; Integrated Security=SSPI;Auto Translate=False
Create new SSIS package
Create OLEDB connection called Configuration – point to SSIS_Config db
Create a new SSIS configuration…
Type = Environment Variable
Variable = SSIS_ROOT
Next > Select ConnectionString property of Configuration connection manager
See http://msdn.microsoft.com/en-us/library/cc671625.aspx for more info