Erro em DO: ORA-06503: PL/SQL: Function returned without value