PLS-00372: In a procedure, RETURN statement cannot contain
an expression
Answer Posted / guest
Cause: In a procedure, a RETURN statement contains an
expression, which is not allowed. In functions, a RETURN
statement must contain an expression because its value is
assigned to the function identifier. However, in procedures,
a RETURN statement simply lets you exit before the normal
end of the procedure is reached.
Action: Remove the expression from the RETURN statement, or
redefine the procedure as a function.
Please add more information about this Error
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created
ORA-16627: No standby databases support the overall protection mode.
invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity
if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires
RMAN-05017: no copy of datafile number found to recover
ORA-26084: direct path context already finished
ORA-07497: sdpri: cannot create trace file 'string'; errno = string.
ORA-26032: index string.string loading aborted after string keys
NZE-28890: Entrust Login Failed
ORA-26029: index string.string partition string initially in unusable state
ORA-26095: unprocessed stream data exists
IMP-00070: Lob definitions in dump file are inconsistent with database.
ORA-16516: The current state is invalid for the attempted operation.
ORA-26079: file "string" is not part of table string.string
IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier