Home » SQL & PL/SQL » SQL & PL/SQL » Can we pass REF_CURSOR to externel procedure (Oracle 11g )
Can we pass REF_CURSOR to externel procedure [message #587184] Thu, 13 June 2013 00:55 Go to next message
ashwani0301
Messages: 44
Registered: March 2013
Location: Karnatka, Bangalore
Member
Hi All,

Can we pass REF_CURSOR to externel procedure by DB_LINK....


Thanks
Re: Can we pass REF_CURSOR to externel procedure [message #587186 is a reply to message #587184] Thu, 13 June 2013 01:10 Go to previous messageGo to next message
dariyoosh
Messages: 538
Registered: March 2009
Location: France
Senior Member
Hi,

According to the documentation:
http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/static.htm#CIHIHFCJ

Quote:
You can use a cursor variable as a subprogram parameter, which makes it useful for passing query results between subprograms. For example:

You can open a cursor variable in one subprogram and process it in a different subprogram.

In a multilanguage application, a PL/SQL subprogram can use a cursor variable to return a result set to a subprogram written in a different language.

Note:
The invoking and invoked subprograms must be in the same database instance. You cannot pass or return cursor variables to subprograms invoked through database links.

Regards,
Dariyoosh



[Edit MC: Remove big size and underline to bold line, bold is enough to see the point]

[Updated on: Thu, 13 June 2013 01:53] by Moderator

Report message to a moderator

Re: Can we pass REF_CURSOR to externel procedure [message #587189 is a reply to message #587186] Thu, 13 June 2013 01:40 Go to previous message
ashwani0301
Messages: 44
Registered: March 2013
Location: Karnatka, Bangalore
Member
Got it Sir,

Thank you very much.
Previous Topic: Like operation for multiple values
Next Topic: Oracle - Word bookmark
Goto Forum:
  


Current Time: Tue Aug 19 11:48:19 CDT 2025