OPENQUERY ( linked_server ,'query' )
UPDATE OPENQUERY (OracleSvr, 'SELECT name FROM joe.titles WHERE id = 101')
SET name = 'ADifferentName';
INSERT OPENQUERY (OracleSvr, 'SELECT name FROM joe.titles')
VALUES ('NewTitle');
DELETE OPENQUERY (OracleSvr, 'SELECT name FROM joe.titles WHERE name = ''NewTitle''');![](http://i2.51cto.com/images/blog/201805/17/829cb76c8bc6e32a0ffdc47652bad9e3.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_30,g_se,x_10,y_10,shadow_20,type_ZmFuZ3poZW5naGVpdGk=)
OPENQUERY
原创Kassadar ©著作权
文章标签 OPENQUERY 51cto 文章分类 SQL Server 数据库
-
SQL Server OPENQUERY使用
单值传递:
值传递 链接服务器 字段类型 -
如何给OPENQUERY传递参数
发现SQL SERVER里,直接调用链接服务器的函数是不可以
sql server function user sql table