dbTalk Databases Forums  

Code Replication

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


Discuss Code Replication in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jon Derbyshire
 
Posts: n/a

Default Code Replication - 03-24-2006 , 03:32 AM






Hi,

I have 10 different DTS's, all of which have the exact same ActiveX script
task at the start.

I'd like to know if there's a way of storing my vbscript in 1 location,
rather than 10 locations, allowing for easier modification of my code?

Thanks in advance

Regards

Jon Derbyshire

Reply With Quote
  #2  
Old   
sethladd@gmail.com
 
Posts: n/a

Default Re: Code Replication - 03-24-2006 , 08:14 PM






Hi John,

I have this same need. Have you found a solution?

Thanks,
Seth

Jon Derbyshire wrote:
Quote:
Hi,

I have 10 different DTS's, all of which have the exact same ActiveX script
task at the start.

I'd like to know if there's a way of storing my vbscript in 1 location,
rather than 10 locations, allowing for easier modification of my code?

Thanks in advance

Regards

Jon Derbyshire


Reply With Quote
  #3  
Old   
Shannon McLemore
 
Posts: n/a

Default RE: Code Replication - 04-04-2006 , 12:30 PM



You could put the Active Script Task in a seperate package and save it as a
Structured Storage File and then add an Execute Package Task to every package
and reference the package saved as a Structured Storage File.
--
Shannon McLemore
http://sqldevelop.blogspot.com


"Jon Derbyshire" wrote:

Quote:
Hi,

I have 10 different DTS's, all of which have the exact same ActiveX script
task at the start.

I'd like to know if there's a way of storing my vbscript in 1 location,
rather than 10 locations, allowing for easier modification of my code?

Thanks in advance

Regards

Jon Derbyshire

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.