![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am embarking on a project where it may require 10-15 packages to load and scrub a data set. As we add more platform sources that we load from, a new set of packages will be required, so the total number of packages will tend to grow arithmetically. We anticipate the need to be constantly evolving, and improving a large portion of the packages. If this were being done in compiled languages, I know I could count on something like Visual Source Safe to help me manage revision history, which could be very valuable in tracking down problems. Is there any such similar technology or methodologies available for systems developed in DTS? TIA - Best regards, Lee Gillie, Spokane WA |
#3
| |||
| |||
|
|
In article <#l5Q7$cvDHA.1680 (AT) TK2MSFTNGP12 (DOT) phx.gbl>, Lee Gillie ANTISPAMIFICATION_lee (AT) odp (DOT) com> writes I am embarking on a project where it may require 10-15 packages to ... problems. Is there any such similar technology or methodologies available for systems developed in DTS? TIA - Best regards, Lee Gillie, Spokane WA If using "Local Server" then each "Save" produces a new version. Packages are stored in sysdtspackages, one row per version. In EM you can right click to view and load a specific version. This may be complicated when using things like the Exec Pkg task as you will have to specify the version, otherwise you get the default. Obviously since this is just a SQL table you could overlay your own processes via TSQL to ensure the correct version is available in sysdtspackages. A better option may be to save all packages as files, and use VSS as normal. -- Darren Green (SQL Server MVP) DTS - http://www.sqldts.com |
#4
| |||
| |||
|
|
I am embarking on a project where it may require 10-15 packages to load and scrub a data set. As we add more platform sources that we load from, a new set of packages will be required, so the total number of packages will tend to grow arithmetically. We anticipate the need to be constantly evolving, and improving a large portion of the packages. If this were being done in compiled languages, I know I could count on something like Visual Source Safe to help me manage revision history, which could be very valuable in tracking down problems. Is there any such similar technology or methodologies available for systems developed in DTS? |
#5
| |||
| |||
|
|
On Mon, 8 Dec 2003 13:12:24 -0800, "Lee Gillie" wrote: I am embarking on a project where it may require 10-15 packages to load and scrub a data set. As we add more platform sources that we load from, a new set of packages will be required, so the total number of packages will tend to grow arithmetically. We anticipate the need to be constantly evolving, and improving a large portion of the packages. If this were being done in compiled languages, I know I could count on something like Visual Source Safe to help me manage revision history, which could be very valuable in tracking down problems. Is there any such similar technology or methodologies available for systems developed in DTS? G'day Lee, As Darren says, multiple versions are saved in SQL Server (version is incremented each time you enter the Designer and save; multiple saves from a Designer session do not result in multiple versions). Also, saving to an existing Structured Storage File (SSF) will put a new version into that file (one SSF can contain multiple versions of a package). However, this doesn't work in well with software deployment, because you can't just extract a complete set of objects from your version control system and deploy them - you need to grab from the SQL Server also. What I do is Save As - Structured Storage File (SSF), and Save As - Visual Basic (VB). This gives me two files that I can save in my SCM / version control system. I want both, because the SSF is the easy one to use for deployment, and the VB one allows me to do simple version comparisons so that I can see what has changed. Note that as previously stated, saving to an existing SSF will store a new version of your package alongside the existing version(s) in there. This will, of course, lead to a large bloated SSF file over time, which you don't need if you are storing individual versions in your version control system. What I do is when I Save As - SSF, I navigate to my working folder, select the existing file, and delete it from within the Save As dialog, then save. Another solution is to build the packages in code. I do this in one situation, mostly because it allows me to build the packages conditionally (i.e. different steps and transforms depending on what is required at the time), but this also nicely integrates in with the software version control - because it is part of the software source code. This might also be an option for you if you have slightly different deployment requirements: rather than create and manage multiple packages, it might be easier to conditionally build one package in code. For an example of building packages in code, just Save As - VB and read. cheers, Ross. -- Ross McKay, WebAware Pty Ltd "The lawn could stand another mowing; funny, I don't even care" - Elvis Costello |
#6
| |||
| |||
|
|
If you SAVE AS VB, how would you then upload the VB code as a package that can be edited via SQLEM ? |
#7
| |||
| |||
|
|
Personally I'm not sold on the idea of two manual saves that must be in sync, but it obviously can work. One thing I would consider if using this approach would be to automate the Save As VB, though the old ScriptPkg tool. There is no SaveAsVB object model method. ScriptPkg is SQL 7.0 code but it can be extended for SQL 2000. |
|
Another comparison option is the DTS Compare tool from Red-Gate - http://www.red-gate.com/sql/DTS_Compare.htm |
![]() |
| Thread Tools | |
| Display Modes | |
| |