Oracle Error PLS-00622: range constraints must be between -2147483647 and 2147483647

Oracle Error Message

PLS-00622: range constraints must be between -2147483647 and 2147483647

Reason for the Error

The range constraints specified for a pls_integer or binary_integer declaration did not fall between -2147483647 and 2147483647.

Solution

Use range constraints between -2147483647 and 2147483647.