Oracle Error PLS-00230: OUT and IN OUT formal parameters may not have default expressions

Oracle Error Message

PLS-00230: OUT and IN OUT formal parameters may not have default expressions

Reason for the Error

When the formal parameters of a procedure were declared, an OUT or IN OUT parameter was initialized to a default value, as in PROCEDURE calc_bonus (bonus OUT REAL := 0, …) IS … However, only IN parameters can be initialized to default values.

Solution

Remove the illegal default expression.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message ORA-24328: illegal attribute value Reason for the Error The attribute value passed in is illegal. Solution Consult...
Oracle Error Message ORA-01346: LogMiner processed redo beyond specified reset log scn Reason for the Error LogMiner has detected a...
Oracle Error Message ORA-13241: specified dimensionality does not match that of the data Reason for the Error An error occurred...