What type in Oracle (10 Express Edition) would be the "same" as a Java int?
Short in java is equivalent to small int as there range is same.It has a minimum value of -32,768 and a maximum value of 32,767 (inclusive).
The NUMERIC and DECIMAL data types can specify only fixed-point numbers. For those data types, the scale ( s ) defaults to 0. The FLOAT data type is a floating-point number with a binary precision b. The default precision for this data type is 126 binary, or 38 decimal.
Java's int has a range of -2,147,483,648 to 2,147,483,647 - so Number(10,0) is as close as you're going to get...
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