I want to know what is the maximum value the number-format? For example int32 can handle 4.294.967.296 values.
THE MAXIMUM SIZE OF NUMBER DATA TYPE IS 32 BYTES..
This integer value can have 28 or fewer digits. MAXVALUE must be equal to or greater than START WITH and must be greater than MINVALUE . NOMAXVALUE Specify NOMAXVALUE to indicate a maximum value of 1027 for an ascending sequence or -1 for a descending sequence. This is the default.
Based on this Oracle's documentation:
The NUMBER datatype stores fixed and floating-point numbers. Numbers of virtually any magnitude can be stored and are guaranteed portable among different systems operating Oracle, up to 38 digits of precision.
The following numbers can be stored in a NUMBER column:
- Positive numbers in the range 1 x 10-130 to 9.99..9 x 10125 with up to 38 significant digits
- Negative numbers from -1 x 10-130 to 9.99..99 x 10125 with up to 38 significant digits
- Zero
- Positive and negative infinity (generated only by importing from an Oracle Version 5 database)
There's also this other documentation which summarizes very well the types and precision for numeric and other data types as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With