![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello everyone and Happy New Year! I have a need to query application databases across multiple servers for row counts, object counts, etc. In the past I have used Query Manager to do this server by server. I would like to write a DTS package on a central server that uses a source file as input into the DTS Source (what server to connect to), and input into the query (what database to query). For example, the source file could look like 'server\instance name, database'. The DTS Source would pick up the server name and connect with Windows Authentication. The actual DTS query would pick up the database name and run the query against that database. (Output for the query would be stored in a table on the central server). The query is written, works fine..but I seem to be struggling with how to use that input source file to populate the DTS Source and the DTS Query. I'm talking about hundreds of server\database combinations that I need to query each month. If I could figure this out, this would be slick. I thank anyone in advance for advice. Steve |
![]() |
| Thread Tools | |
| Display Modes | |
| |