用out类型参数就可返回值,如:
create or replace procedure pro(p1 out varchar2)
as
begin
p1:='123';
end;
/