all groups > sql server dts > april 2007 >
You're in the

sql server dts

group:

modifying dts code via a program



modifying dts code via a program 906507N
4/27/2007 3:41:31 AM
sql server dts: Hi,

under sql server 2000, do you know how I can access via vbscript to the dts
code and make programmatically some changes ? what are the usefull api's ?


for example, I want to change database properties

of course, I can write the dts the correct way in order to handle
different server/databases

my question is related to the amount of dts I already use and need to
changed every time I deploy then from dev to prod
I believe it should be more simple to write a 20/50 lines of vbscript
instead modifying more then 100 dts by hand

This should be possible since somebody has written a tools to move/export a
dts from one server to another one.

Re: modifying dts code via a program Allan Mitchell
4/30/2007 8:25:57 PM
Hello 906507N,

I think you are asking about changing Connection Information for when you
move between environments. This is what the Dynamic Properties task was
meant to do. You can also change properties like this through code in your
package.

http://www.sqldts.com/101.aspx


--

Allan Mitchell
http://wiki.sqlis.com | http://www.sqlis.com | http://www.sqldts.com |
http://www.konesans.com

[quoted text, click to view]

AddThis Social Bookmark Button