question

BasavaPrabhu avatar image
BasavaPrabhu asked

Passing connection String of Datasource in SSIS 2008

I am having Parent package which calls the three diffrent child packages,I used the datasource as OLEDB connection, in which all packages uses the same datasource.How to pass connection string of datasource from parent package to child packages using dtexec.exe utility.

sql-server-2008ssisconnection-string
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Deepak Sharma avatar image
Deepak Sharma answered

Make configuration file and use

  dtexec /f "c:\pkgOne.dtsx" /conf "c:\pkgOneConfig.cfg"

It is an example where your SSIS package resides on FIle system and the next is the path of the configuration file, and if you want to pass the variables from Parent package to child Package then you can use "Parent package variable" property in Configuration file. Hope the link http://msdn.microsoft.com/en-us/library/ms162810.aspx will help you. Thanks.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.