PLS-00251: RETURN, for actual function return, must be last
in the parameters clause
Answer / guest
Cause: RETURN specification for the actual function return,
used within the parameters clause must hold the very last
position. Example : The following will give this error since
the RETURN specification for the actual function return in
the parameters clause is not the last. FUNCTION
myexternalfunc (var1 BINARY_INTEGER, var2 BINARY_INTEGER)
RETURN BINARY_INTEGER IS EXTERNAL NAME "myexternalfunc"
LIBRARY somelib PARAMETERS (var1 LONG, var2 SHORT, RETURN
INT, RETURN INDICATOR SHORT); The correct syntax is the
following. Note that RETURN for actual function return is
the last specification in the parameters clause. FUNCTION
myexternalfunc (var1 BINARY_INTEGER, var2 BINARY_INTEGER)
RETURN BINARY_INTEGER IS EXTERNAL NAME "myexternalfunc"
LIBRARY somelib PARAMETERS (var1 LONG, var2 SHORT, RETURN
INDICATOR SHORT, RETURN INT);
Action: Correct the syntax of the RETURN specification in
the parameters clause
Please add more information about this Error
| Is This Answer Correct ? | 0 Yes | 0 No |
ORA-13154: invalid precision specified
ORA-13852: Tracing for service(module/action) string is not enabled
PLS-00516: Type mismatch between object table and value 'string' in INSERT statement.
ORA-24323: value not allowed
PCC-00128: Command line processor severe error
NNL-00305: Server dumping statistics to the log file
ORA-09708: soacon: failed to bind socket to port.
ORA-39070: Unable to open the log file.
PLS-00738: REF target string changed during compilation
ORA-30725: JDWP-based debugging is not yet available
ORA-01877: string is too long for internal buffer
ORA-15000: command disallowed by current instance type