create procedure hcf2(a in number,b in number) return number as
begin
if b = 0 then
return a;
else
return hcf2(b,mod(a,b));
end if;
end;
die Fehler GotWährend plsql tun traf ich die folgenden Fehler
LINE/COL ERROR
-------- -----------------------------------------------------------------
1/41 PLS-00103: Encountered the symbol "RETURN" when expecting one of
the following:
; is with authid as cluster order using external
deterministic parallel_enable pipelined result_cache
The symbol "authid was inserted before "RETURN" to continue.
Ich denke, du meintest 'create function', nicht' create procedure'. –