dbTalk Databases Forums  

Using DTS Dynamic Properties

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


Discuss Using DTS Dynamic Properties in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Greg Cook
 
Posts: n/a

Default Using DTS Dynamic Properties - 01-13-2005 , 11:08 AM






Hi,

I have used the DTS Wizard to generate a DTS script
that migrates table data from a Sybase DB to SQL Server.

I now want to be able to plug in the DTS Dynamic
properties such that I can change both the Source and
Target databases.

I'm hoping I do not have to edit the original tasks
that were generated by the DTS Wizard and that I can just
"plug-in" the dynamic propeties tasks.

s thi1s possible. I have Saved by DTS package within
SQL Server and will be executing it from this environment.

Thanks

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Using DTS Dynamic Properties - 01-13-2005 , 12:39 PM






The Dynam' Prop' task is useful when reading from a source so a Query or an
INI file things like that.

Personally I would have an Active Script task at the start of the package
which did the assignments

conn.Catalog = DTSGlobalVariables("ThisCatalog").Value


When i call the package I would use DTSRUN and use the /A switch.

How are you calling this?


--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


"Greg Cook" <greg_cook (AT) transcanada (DOT) com> wrote

Quote:
Hi,

I have used the DTS Wizard to generate a DTS script
that migrates table data from a Sybase DB to SQL Server.

I now want to be able to plug in the DTS Dynamic
properties such that I can change both the Source and
Target databases.

I'm hoping I do not have to edit the original tasks
that were generated by the DTS Wizard and that I can just
"plug-in" the dynamic propeties tasks.

s thi1s possible. I have Saved by DTS package within
SQL Server and will be executing it from this environment.

Thanks



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.