beverleydunster
asked on
Editing a saved SQL SSIS (.dtx) package
Hi
I have set up a pretty long-winded SSIS package in SQL Server to import some data from a flat file in to a SQL table. I saved the SSIS in the file system and have the .dtx file, which enables me to run it whenever necessary. However, one of the parameters in the package needs to be amended - it's a database name in a connection string that needs altering. I can open the .dtx file with the Execute utility and can apparently edit the destination connection under the Connection Managers menu. Unfortunately this doesn't seem to take effect - and when I close the utility, the change isn't saved.
Is there a way I can edit this saved SSIS package - to avoid me needing to go through the entire process of creating a new one, just for the sake of one tiny amendment?
Thanks
I have set up a pretty long-winded SSIS package in SQL Server to import some data from a flat file in to a SQL table. I saved the SSIS in the file system and have the .dtx file, which enables me to run it whenever necessary. However, one of the parameters in the package needs to be amended - it's a database name in a connection string that needs altering. I can open the .dtx file with the Execute utility and can apparently edit the destination connection under the Connection Managers menu. Unfortunately this doesn't seem to take effect - and when I close the utility, the change isn't saved.
Is there a way I can edit this saved SSIS package - to avoid me needing to go through the entire process of creating a new one, just for the sake of one tiny amendment?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you dont want to edit the package directly you can use dtexec Utility.
http://msdn.microsoft.com/ en-us/libr ary/ms1628 10.aspx
Helped?
Regards,
Pedro
http://msdn.microsoft.com/
Helped?
Regards,
Pedro
ASKER
I have noticed you can open the dtsx file with Management Studio and edit all the properties of it in the designer.
"Data Source=ServerAddress;Intia
Then you would add the variable to the execution of the package. If you're using DTEXEC, it would be:
dtexec /f MyPackage.dtsx /SET \package.variables[Databas
If you're using the Execute Utility, you can add the information under the Set Values page. you would specify \package.variables[Databas
I would think the Connection Managers page would do what you're referring to but I'm not sure why it isn't working for you. I'm assuming you made sure the connection you wanted to change was checked and the string was modified.