dbTalk Databases Forums  

Re: DTS Configuration and Release Management

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: DTS Configuration and Release Management in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jason Strate
 
Posts: n/a

Default Re: DTS Configuration and Release Management - 08-21-2003 , 02:51 PM






lalitkolhe (AT) lycos (DOT) co.uk (Lalit Kolhe) wrote in message
Quote:
Is there any way (by using any sort of script) to modify the
connections externally?
A few options for you:
1: Use Microsoft Data Link for your connections. Then set up a data
link connection file for each environment.

2: Using the DTSPackage object you could write an application that
opens DTS Package and presents the connections for modification before
execution.

3: Use global variables and dynamic properties tasks to set the
connection information within the package. Then use the DTSRun /A
switch to pass in the values for the global variables. Depending on
the contract I have passed in values for the servers (i.e. /A
gvSrceSrvr:8=MyServer) or flags for the environment (i.e. /A
gvEnvironment:8=Stage).

The third method is how I usually set up package for migration. I
prefer this because the package isn't dependent on additional files or
applications. And once a package is completed there isn't a need to
reopen the package to adjust and internal coding. The same package
that runs in development runs in production.

HTH
Jason Strate
J.strate (AT) comcast (DOT) net


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.