dbTalk Databases Forums  

Changing Table Name Referenced in Numerous DTS Packages

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


Discuss Changing Table Name Referenced in Numerous DTS Packages in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark Palfrey
 
Posts: n/a

Default Changing Table Name Referenced in Numerous DTS Packages - 01-09-2004 , 11:07 AM






Hey,

I am renaming a table that is referenced in over 100 DTS packages. Is
there any (faster) way to do this other than one DTS package at a
time?

Thanks very much.

Mark Palfrey

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

Default Re: Changing Table Name Referenced in Numerous DTS Packages - 01-09-2004 , 12:06 PM






Nope.

You will want to use the object model to do this. If you parameterise your
package then you won't need to care where the package itself points. At
runtime the real value would be substituted in. You would change it in 1
place and one place only

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Mark Palfrey" <mpalfrey (AT) focustg (DOT) com> wrote

Quote:
Hey,

I am renaming a table that is referenced in over 100 DTS packages. Is
there any (faster) way to do this other than one DTS package at a
time?

Thanks very much.

Mark Palfrey



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.