Example of an External Procedure Call that Returns a REF CURSOR

(Doc ID 1460826.1)

Last updated on AUGUST 29, 2017

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.
Although there is not much use for developing new application code using external procedures that perform SQL operations, there is the occasional need to migrate an existing C application that already contains OCI (or Pro*C) and sometimes that involves passing a ref cursor. There has been a doc bug thru 11gR2 that indicated this was not supported so no sample code existed.


Provide an example of an external procedure that returns a ref_cursor / sys_refcursor.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms