Only table-valued functions can be used in the FROM
clause.
解决办法:
If it‘s a scalar function, use this:
SELECT * FROM OPENQUERY(LinkedServer
, ‘SELECT [db name].dbo.[function name](param1, param2)‘)
标签:remote lin 远程 scala nbsp param 原因 cti use
开始是这样调用的:
select * from [LinkedServer].[db name].dbo.[function name](param1, param2)
原因:
Only table-valued functions can be used in the FROM
clause.
解决办法:
If it‘s a scalar function, use this:
SELECT * FROM OPENQUERY(LinkedServer
, ‘SELECT [db name].dbo.[function name](param1, param2)‘)
远程访问Function时报错Remote table-valued function calls are not allowed.
标签:remote lin 远程 scala nbsp param 原因 cti use
原文地址:http://www.cnblogs.com/johnblogs/p/6866544.html