3

Is there a simple formula for determining the maximum and minimum values for an Oracle NUMBER column with (p, s)?

1 Answer 1

5

I'm not sure, it is something like:

from - 10 ** (p - s) to 10 ** (p - s)

p is number of significant decimal digits, and s is number of digits after period. So

NUMBER(6, 2)

can store values from -9999.99 to +9999.99.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.