0

I try to call pipelined table function on other server by dblink, but get error

"ORA-30626: function/procedure parameters of remote object types are not supported".

Maybe exist some way, how i can execute this function? All works, when not remote.

My query:

select * from table(DP.testpipe@DB_DCPRF_WSTAT)
3
  • Cleaned up wording and display of error. Commented Nov 17, 2016 at 14:05
  • what you means? Commented Nov 18, 2016 at 14:33
  • Just that I adjusted the language to be easier to read, as well as set the error to be more immediately visible. I hoped to make this a better question, giving you a better chance for an answer. Commented Nov 18, 2016 at 14:34

1 Answer 1

1

I think you have to wrap it in a view.

Remote side:

create or replace view vv
as
select * from table(dp.testpipe());

Local:

select * from vv@DB_DCPRF_WSTAT;

Passing parameters may get tricky depending on your requirement.

https://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:6020795600346824518

Sign up to request clarification or add additional context in comments.

2 Comments

Unfortunatelly, I'm passing in function parameters.
The asktom page I linked to suggests using application contexts for that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.