Changing precision of numeric column in Oracle

后端 未结 3 546
轮回少年
轮回少年 2020-12-13 08:34

Currently I have a column that is declared as a NUMBER. I want to change the precision of the column to NUMBER(14,2).

SO, I ran the command

 alter t         


        
3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 09:21

    By setting the scale, you decrease the precision. Try NUMBER(16,2).

提交回复
热议问题