Home > Archive > MS SQL Server DTS > April 2006 > Code Replication









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Code Replication
Jon Derbyshire

2006-03-24, 7:39 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
Shannon McLemore

2006-04-04, 1:29 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:

> 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

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com