SQL MERGE到远程(链接)服务器表 [英] SQL MERGE to remote (linked) server table

查看:351
本文介绍了SQL MERGE到远程(链接)服务器表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在链接服务器的数据库表上使用SQL MERGE函数?最终目标是使远程表与我们的本地SQL Server表同步.我已经在线进行了一些研究,但是找不到任何相关信息.如果可能的话,如何设置源语句和目标语句?

Is it possible to utilize the SQL MERGE function on a linked server's database table? The end goal is to synchronize the remote table with our local SQL server table. I’ve done some research online and couldn’t find any related information. If it is possible how would you setup the source and target statements?

推荐答案

显然,我的研究还不够好,它在MSDN上说得很对: "target_table不能是远程表" ...这样就可以回答这个问题...

Apparently my research wasn't good enough, it’s stated right on MSDN: "target_table cannot be a remote table" ... so that answers this question...

这篇关于SQL MERGE到远程(链接)服务器表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆