Does anyone know what is the precision of scale if we create a table with column number without specifying number(x,y)? Just use for exmaple
Life is a journey, not a destination!
is a floating-point number with decimal precision 38. Note that a scale value is not applicable for floating-point numbers. (See "Floating-Point Numbers" for more information.)
so I guess itīs number(38, 0)?
No, if it were number(38, 0) then anything right from the decimal point would be lost! When specifying datatype simply as NUMBER it means that the precision is limited by maximum allowable precision (38 digits), while scale is unconstrained, meaning you can use any scale for that precision. That's why it is said that scale is not applicable for floating point numbers.
ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?
Click Here to Expand Forum to Full Width