Dear All,
I now have two SSIS package, "TESTING" and "LOADING". The "TESTING" package have an execute package task that call the "LOADING" package. When I want to execute the TESTING package, how can I setup the connection string so that I can edit the password of the database connected by the "LOADING" package?
Regards,
Strike
You should use configurations to achieve this. There's plenty of material out there about SSIS configurations if you google it.
-Jamie
|||How about if I want to create a command file so that I can input the password externally in the command prompt?|||
You can pass values into a package via the command-line using the /SET option of dtexec.
If the package that you call is a parent package then you can pass the value through to the child using a parent package configuration.
-Jamie
|||
Hi Jamie,
I would like to know how can I setup the command line in the SQL Server Job Agent for executing the two packages mentioned above? I have already configured the parent variable for the child package. However, I have encountered some errors when executing the job, and I don't know how to set up the path for the child package in the command line as both of the packages are loaded from the SQL server, not from the file system.
Thank you very much!!
Strike Wong
|||For help building command lines, try DTExecUI.exe. Set the options you want, and then look at the Command Line page. You can copy the command from there. Obviously you can execute the package from there as well to check the validity of the command you have built.|||Is this included in the MS SQL Server 2005?
I can't found it in the directories
Yes -
How to: Run a Package Using the DTExecUI Utility
(http://msdn2.microsoft.com/en-us/library/d827d7b2-2eb6-4f4a-a775-ab00c444c0dd.aspx)
It should be available from a command prompt or the Run dialog, as the Bin folder were it lives should be on your PATH, set as part of the SQL 2005 install.
No comments:
Post a Comment