What is the default Precision and Scale for a Number in Oracle?

Matt picture Matt · Feb 27, 2009 · Viewed 185k times · Source

When creating a column of type NUMBER in Oracle, you have the option of not specifying a precision or scale. What do these default do if you don't specify them?

Answer

Angelo Marcotullio picture Angelo Marcotullio · Feb 27, 2009

NUMBER (precision, scale)

If a precision is not specified, the column stores values as given. If no scale is specified, the scale is zero.

A lot more info at:

http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/datatype.htm#CNCPT1832