![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have over 182 DTS packages that reside on 54 SQL servers each is a different server, the DTS packages pull data from SQL server databases, sybase & oracle. The plan is to move the databases to 4 SQL servers, is there an easy why to find which DTS package uses which databases so we would now what to migrate a long with the databases. Thanx |
#3
| |||
| |||
|
|
The only way I could think to do it would be to Use the Object Model Loop through the packages Look at the Connections Collection Find the SQL Server connections Check their Catalog property. Allan "SQLCluster" <SQLCluster (AT) discussions (DOT) microsoft.com> wrote in message news:SQLCluster (AT) discussions (DOT) microsoft.com: I have over 182 DTS packages that reside on 54 SQL servers each is a different server, the DTS packages pull data from SQL server databases, sybase & oracle. The plan is to move the databases to 4 SQL servers, is there an easy why to find which DTS package uses which databases so we would now what to migrate a long with the databases. Thanx |
#4
| |||
| |||
|
|
Allan, Could you PLEASE explain a bit more on the object model. Is this VB Scripting? "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:%23jdCSM6CFHA.2156 (AT) TK2MSFTNGP10 (DOT) phx.gbl... The only way I could think to do it would be to Use the Object Model Loop through the packages Look at the Connections Collection Find the SQL Server connections Check their Catalog property. Allan "SQLCluster" <SQLCluster (AT) discussions (DOT) microsoft.com> wrote in message news:SQLCluster (AT) discussions (DOT) microsoft.com: I have over 182 DTS packages that reside on 54 SQL servers each is a different server, the DTS packages pull data from SQL server databases, sybase & oracle. The plan is to move the databases to 4 SQL servers, is there an easy why to find which DTS package uses which databases so we would now what to migrate a long with the databases. Thanx |
#5
| |||
| |||
|
|
Sure Enumerating DTS Packages using VB.Net (http://www.sqldts.com/default.aspx?250) You can then grab the package Open it Change a DataSource http://www.sqldev.net/dts/ExecutePac...isual%20Csharp You can find the object model in BOL (Books Online) http://www.microsoft.com/sql/techinf...2000/books.asp "MADS" <deschepper_marc (AT) telenet (DOT) be> wrote in message news:deschepper_marc (AT) telenet (DOT) be: Allan, Could you PLEASE explain a bit more on the object model. Is this VB Scripting? "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:%23jdCSM6CFHA.2156 (AT) TK2MSFTNGP10 (DOT) phx.gbl... The only way I could think to do it would be to Use the Object Model Loop through the packages Look at the Connections Collection Find the SQL Server connections Check their Catalog property. Allan "SQLCluster" <SQLCluster (AT) discussions (DOT) microsoft.com> wrote in message news:SQLCluster (AT) discussions (DOT) microsoft.com: I have over 182 DTS packages that reside on 54 SQL servers each is a different server, the DTS packages pull data from SQL server databases, sybase & oracle. The plan is to move the databases to 4 SQL servers, is there an easy why to find which DTS package uses which databases so we would now what to migrate a long with the databases. Thanx |
![]() |
| Thread Tools | |
| Display Modes | |
| |