I have two databases that I connect to remotely via SSMS, which are both hosted on GoDaddy’s servers, but not on the same server.
I would like to run a script against the two databases that extracts some data from db1 and then imports the data to db2.
Is there anyway I can do this, or would I be better of writing a small program that can access both SQL connections and run the scripts from there?
The data in db2 will only hold the value of a couple columns from one of the db1 tables.
Well usually you can export/import data using your SSMS through the DTS (Import/Export Wizzard). The wizzard is accessed when rightclicking on the database node and selecting Tasks->import or Tasks->export