SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


DTS package to pass data between two databases


DTS package to pass data between two databases

Author
Message
Kathy-268569
Kathy-268569
SSC Rookie
SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)

Group: General Forum Members
Points: 46 Visits: 37
I want to monitor file growth across a number of databases on different servers from a central point. I'm using a DTS package and what I want to do is avoid hard coding each server, database, datafile etc. I set up a DTS package which connects to the remote server and collects the data I need, but I can't work out how to get it back and then pass it into another SQL task which will update some tables in the central database. The gathering and inserting SQL are no problem but it's the method by which I get them from one task to another that's giving me a problem. Any suggestions? Thanks.
SQL ORACLE
SQL ORACLE
SSCertifiable
SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)SSCertifiable (6.4K reputation)

Group: General Forum Members
Points: 6449 Visits: 1314
Did you try to collect data from your remote servers, insert into a temp table in your "central point", then migrate the data to wherever you want?
Kathy-268569
Kathy-268569
SSC Rookie
SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)SSC Rookie (46 reputation)

Group: General Forum Members
Points: 46 Visits: 37
Yes, I think I'm going to do that - create some temporary tables on the source, copy them across with the copy objects and then run the analysis on the local server. It's not hugely elegant but it will do the job.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search