How to fix the Oracle error PLS-00217: NUMBER scale constraint must be in range (-84 .. 127)?

In this post, you’ll learn more about the Oracle ErrorPLS-00217: NUMBER scale constraint must be in range (-84 .. 127) with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

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

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

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.

How to fix the Error PLS-00217: NUMBER scale constraint must be in range (-84 .. 127) ?

You can fix this error in Oracle by following the below steps

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

Tags :

Leave Your Comment