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

前端 未结 6 661
时光说笑
时光说笑 2020-12-01 07:13

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?

6条回答
  •  长情又很酷
    2020-12-01 07:33

    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

提交回复
热议问题