Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> OCI returned REF Cursor's
Hello,
I have the following Problem. I am calling a PL/SQL Procedure which give me a Ref Cursor back I can read the contents of the REF/Cursor, but How can I close the opened cursor at the server side via the OCI
Thanks in advance for a response
CREATE OR REPLACE PACKAGE test_pack IS
TYPE mycur IS REF CURSOR;
TYPE myrectype is record (oid varchar2(15), werte_code varchar2(12));
TYPE mytabtype is table of myrecTYPE index by binary_integer;
END;
CREATE OR REPLACE PROCEDURE return_many_rows_ref(RSET IN OUT
test_pack.mycur) IS
BEGIN
OPEN RSET FOR SELECT OID,VERSIONS_NR,WERTE_CODE FROM TAVORMORTSTYP;
END;
Received on Tue May 27 2003 - 08:59:07 CDT