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)‘)
Posted John_杰
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了远程访问Function时报错Remote table-valued function calls are not allowed.相关的知识,希望对你有一定的参考价值。
开始是这样调用的:
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.的主要内容,如果未能解决你的问题,请参考以下文章
git clone时报错 提示 early EOF、The remote end hung up unexpectedly 、 index-pack failed等错误信息
Pycharm从GitLab拉取代码时报错Could not read from remote repository
Jenkins集成时报错 hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection fro