1

What is a good way to transfer a table from one SQL Server instance to another server with an available FTP?

3
  • 2
    FTP? Read up on linked servers. Commented Aug 29, 2011 at 17:12
  • If both servers were on our network… I could see this being a possible workaround. With the servers being on two disconnected, intentionally segregated networks… it changes the landscape of what we are trying to accomplish. FTP isn’t the only option, it is the desired option. To connect the server running our internal SQL servers with this PC that is externally available to the whole world would be… ill advised… to say the least. Commented Aug 29, 2011 at 17:49
  • 1
    Check out Red Gate SQL Compare and SQL Data Compare. Commented Aug 29, 2011 at 17:51

3 Answers 3

1

Use 'Generate Scripts' to script table creation and use the SSMS Tools' 'Generate Insert Statement' feature to create a script to populate the table. Simple, ad completely disconnected.

And alternative would be to backup the DB, restore it to a parallel DB on the new server, and copy from DB to DB (via SELECT INTO)

Sign up to request clarification or add additional context in comments.

1 Comment

thanx. we findally got around to getting the SSMS tool and it worked. It created the file, then i doubled clicked the file on the other server and executed it. The only preliminary step that needs to be done before executing the script is to [Delete * From TableName] otherwise it wont insert the new rows.
0

Have you tried using a linked server from server A to server B?

Comments

0

Here's one way (using TASKS via SSMS): http://msdn.microsoft.com/en-us/library/ms142159.aspx

Here's another way (using SSIS): http://msdn.microsoft.com/en-us/sqlserver/cc511477.aspx

1 Comment

I would like to use the TASKS however the DB manager frowns on the direct server link between the 2 servers hence (security issues) because one of the servers is for outside customers to use. So we only have an FTP available.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.