Hi,
Is there any way to use in TOracleDataset such a function:
I know, i can use an equivalent:
with this SQL
But i want a function 
Thanks.
Is there any way to use in TOracleDataset such a function:
Code:
FUNCTION PTEST3 return sys_refcursor
IS
res sys_refcursor;
begin
open res for select * from test1;
return res;
END;
Code:
PROCEDURE PTEST4 (result in out sys_refcursor)
IS
res sys_refcursor;
begin
open res for select * from test1;
result := res;
END;
Code:
_cursor.SQl.Text := 'call ptest4(:result)'

Thanks.