Crear procedure retornando recordset
create or replace PROCEDURE pr_relatorio_custodia (cliente IN INTEGER, results IN OUT SYS_REFCURSOR) AS BEGIN OPEN results FOR select * from tscclibol; END;