简体   繁体   中英

How to transfer a SQL Server table from one server to another

用可用的FTP将表从一个SQL Server实例传输到另一台服务器的好方法是什么?

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)

您是否尝试过使用从服务器A到服务器B的链接服务器?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM