当前位置: 移动技术网 > IT编程>数据库>MSSQL > sqlserver 跨服务器备份表

sqlserver 跨服务器备份表

2018年07月30日  | 移动技术网IT编程  | 我要评论

猴王五九主题曲,鄄城二手房网,音乐风云榜魏晨

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

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网