SQL>
SQL> create or replace function no_return_type as
2 begin
3 return null;
4 end no_return_type;
5 /
Warning: Function created with compilation errors.
SQL>
SQL> show errors
Errors for FUNCTION NO_RETURN_TYPE:
LINE/COL ERROR
-------- -----------------------------------------------------------------
1/25 PLS-00103: Encountered the symbol "AS" when expecting one of the
following:
( return compress compiled wrapped
SQL>
SQL>