Oracle Error PLS-00217: NUMBER scale constraint must be in range (-84 .. 127)

Oracle Error Message

PLS-00217: NUMBER scale constraint must be in range (-84 .. 127)

Reason for the Error

A NUMBER variable was declared with a scale that is outside the legal range. Declarations such as N NUMBER(10,345) or N NUMBER(10,-100) are not supported.

Solution

Change the illegal NUMBER scale constraint, making sure that it lies in the range -84 .. 127.