create or replace test is
(
    cur_arg out sys_refcursor;    
)
begin
    open cur_arg for select id from table;
end test;