Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle size of numeric fields?
Hi, there.
On 6 May 1999 15:32:20 GMT, "Colinou" <colinux_at_usa.net> wrote:
>Hey there,
>
>does Oracle attribute a size (length) to numeric fields?
Yes....from the Oracle8i Concepts Manual:
The following numbers can be stored in a NUMBER column:
For numeric columns you can specify the column as:
column_name NUMBER
Optionally, you can also specify a precision (total number of digits) and scale (number of digits to the right of the decimal point):
column_name NUMBER (precision, scale)
If a precision is not specified, the column stores values as given. If no scale is specified, the scale is zero.
Oracle guarantees portability of numbers with a precision equal to or less than 38 digits. You can specify a scale and no precision:
column_name NUMBER (*, scale)
In this case, the precision is 38 and the specified scale is maintained.
Thanks!
Joel
Joel R. Kallman Oracle Service Industries
Columbus, OH http://govt.us.oracle.com jkallman@us.oracle.com http://www.oracle.com
![]() |
![]() |