sqlserver 跨服务器备份表

Posted 大道至简

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sqlserver 跨服务器备份表相关的知识,希望对你有一定的参考价值。

exec sp_configure ‘show advanced options‘,1 reconfigure
exec sp_configure ‘Ad Hoc Distributed Queries‘,1 reconfigure
SELECT * into T_System_Organization_bak_20180308
from openrowset (‘SQLOLEDB‘ , ‘10.***.***.***,端口 ; ‘用户名‘ ; ‘密码‘ ,[数据库名称].dbo.表名)
exec sp_configure ‘Ad Hoc Distributed Queries‘,0 reconfigure
exec sp_configure ‘show advanced options‘,0 reconfigure

以上是关于sqlserver 跨服务器备份表的主要内容,如果未能解决你的问题,请参考以下文章