What does :
value_1 INTEGER(5);
mean ?
I understand that value_1
is an integer but what does 5
mean in the declaration ?
In Oracle this means maximal number of decimal digits allowable for number to have.
So, variable of type number(5) can contain 99999, but not 100000.
In fact, that subtype limits you to values -99999 to 99999.
Oracle docs covering number
subtypes, of which one is integer
.
Oracle docs covering the number
type.
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