﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Tito David / Article Discussions / Article Discussions by Author  / More Portable DTS Packages / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 21:17:27 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: More Portable DTS Packages</title><link>http://www.sqlservercentral.com/Forums/Topic171869-222-1.aspx</link><description>&lt;P&gt;Ok, I'm confused, why can't I assume that an ActiveX Script task within the package won't run?&lt;/P&gt;&lt;P&gt;Our DTS packages move from various developer workstations to a QA server, to a test server, to one of 3-4 production servers, all without a hiccup.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 07 Apr 2005 16:40:00 GMT</pubDate><dc:creator>philcart</dc:creator></item><item><title>RE: More Portable DTS Packages</title><link>http://www.sqlservercentral.com/Forums/Topic171869-222-1.aspx</link><description>&lt;P&gt;DTSRun from a command line is extremely limited.  If you have many variables to pass in to a DTS package, you have to use a script / program.&lt;/P&gt;&lt;P&gt;I wrote an article posted earlier this week about creating the DTS package from scratch using Perl.  In the article, I passed in several values from the command line using Getopt::Std.  This functionality can be easily replaced by having Perl read a text (ini) file or get values from a database table.&lt;/P&gt;&lt;P&gt;You can also use a script to open an existing DTS package, assign the variables directly, and execute the package containing the dynamic properties task.&lt;/P&gt;&lt;P&gt;There are many ways to skin the DTS portability cat.&lt;/P&gt;&lt;P&gt;Nice job on the article!&lt;/P&gt;</description><pubDate>Thu, 07 Apr 2005 12:32:00 GMT</pubDate><dc:creator>Jeremy Brown</dc:creator></item><item><title>RE: More Portable DTS Packages</title><link>http://www.sqlservercentral.com/Forums/Topic171869-222-1.aspx</link><description>&lt;P&gt;You are missing the point... He's not talking about dtsrun.....and what happens in 'YOUR' approach when you have to update the package? &lt;img src='images/emotions/sad.gif' height='20' width='20' border='0' title='Sad' align='absmiddle'&gt;What about copying the DTS to another (external) server where you have no access - when you cannot assume that your ActiveX Script will run?&lt;img src='images/emotions/tongue.gif' height='20' width='20' border='0' title='Tongue' align='absmiddle'&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 07 Apr 2005 11:09:00 GMT</pubDate><dc:creator>augustin Carnu-215787</dc:creator></item><item><title>RE: More Portable DTS Packages</title><link>http://www.sqlservercentral.com/Forums/Topic171869-222-1.aspx</link><description>&lt;P&gt;We use a 2 phsed approach to handle this&lt;/P&gt;&lt;P&gt;each SQL server has a single ini file in the root folder of the System drive. This contains 1 [Section] that contains the datasource=, catalog= (we use integrated security only) to point to a table on a server containing the rest of the information.&lt;/P&gt;&lt;P&gt;That table contains 3 columns to in effect work like an ini file&lt;/P&gt;&lt;P&gt;SectionParameterNameParameterValue&lt;/P&gt;&lt;P&gt;I will be recommending a change though from using the C: Drive to using a DFS root of the form &lt;A href="file://DFSROOT/SQLPARAMS/@@SERVERNAME"&gt;\\DFSROOT\SQLPARAMS\@@SERVERNAME&lt;/A&gt;:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 07 Apr 2005 02:55:00 GMT</pubDate><dc:creator>Paul Smith-221741</dc:creator></item><item><title>RE: More Portable DTS Packages</title><link>http://www.sqlservercentral.com/Forums/Topic171869-222-1.aspx</link><description>&lt;P&gt;Interesting, but the ini file problem (limited amount of data that can be held) can be got around (IME) by using a number of different sections in the ini file, and keeping each section below the critical size. This helps organisation, too. Ini files can then be held in a fixed location on each server, so the package can be set to look for its file at \\@@servername\dtsini\ or whatever.&lt;/P&gt;&lt;P&gt;Bill.&lt;/P&gt;</description><pubDate>Thu, 07 Apr 2005 01:30:00 GMT</pubDate><dc:creator>Bill Geake</dc:creator></item><item><title>RE: More Portable DTS Packages</title><link>http://www.sqlservercentral.com/Forums/Topic171869-222-1.aspx</link><description>&lt;P&gt;Nice article. A little different than the technique I use but effective all the same. &lt;/P&gt;&lt;P&gt;My table includes the package id as well and holds all the global variables for a package. From DTSRUN, I pass in a set of global variables to set the connection properties for the GlobalVar connection. Then an ExecuteSQL task extracts all the variables to a resultset and an ActiveX Script task dynamically creates them all.&lt;/P&gt;&lt;P&gt;The advantage of this approach is that my global variable table can reside in one location and serve multiple production servers. It also makes for an easy centralised maintenance location.&lt;/P&gt;&lt;P&gt;Also, I see you use a Dynamic properties task to set the Server Name for the GlobalVarsTable connection. What about the database name and login details?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 07 Apr 2005 01:19:00 GMT</pubDate><dc:creator>philcart</dc:creator></item><item><title>More Portable DTS Packages</title><link>http://www.sqlservercentral.com/Forums/Topic171869-222-1.aspx</link><description>Comments posted to this topic are about the content posted at &lt;A HREF="http://www.sqlservercentral.com/columnists/tdavid/moreportabledtspackages.asp"&gt;http://www.sqlservercentral.com/columnists/tdavid/moreportabledtspackages.asp&lt;/A&gt;</description><pubDate>Mon, 04 Apr 2005 10:43:00 GMT</pubDate><dc:creator>tdavid</dc:creator></item></channel></rss>