0

I wanted to know if there is any way to insert values into table that on different server. Let's say in a work environment that we connect to different server by mRemote. I can transfer files from one pc to another. I tried

insert 
into [Server Ip].[GlobalSales].dbo.sales 
values (3, 'F', 11, getdate () )
4

1 回答 1

1

有很多方法,包括

  • 链接服务器
  • 导出 CSV
  • 导出 XML
  • 通过 SSIS 复制
  • 通过 DTS(旧服务器)复制
  • 通过 BCP 复制
  • 分离数据库文件并将它们附加到新服务器上
  • 使用 C#、PHP 或 ColdFusion 等高级语言一次复制一行
  • 创建一堆执行插入的脚本
  • ...
  • 手动输入

复制数据时考虑:

  • 多少钱
  • 多常
  • 安全限制
于 2013-11-06T15:30:00.627 回答