From: Santana on

Hi,
is possible a function return a sys ref cursor for sql from clob
variable i ORACLE 10g, something like this :


FUNCTION TEST AS
RESULT SYS_REFCURSOR;
L_QS CLOB ;
BEGIN

.....
OPEN result FOR TO_CHAR(l_Qs);
RETURN result ;

END;


The "l_qs" variable have a length like 40.000 characters.

Regards,
Paulito Santana