ORACLE中科学计数法显示问题的解决

2019-03-19

在sqlplus 中显示的是科学计数法,设定以下可以不用科学计数法显示:

1、

SQL> select to_number('1234567891234567') from dual;

TO_NUMBER('1234567891234567')

-----------------------------

1.234567891E+15

2、set numwidth 30

SQL>  show sga

Total System Global Area 1.0021E+10 bytes

Fixed Size                  2261848 bytes

Variable Size            1811942568 bytes

Database Buffers         8187281408 bytes

Redo Buffers               19894272 bytes

SQL> set numwidth 30

SQL>  show sga

Total System Global Area                    10021380096 bytes

Fixed Size                                      2261848 bytes

Variable Size                                1811942568 bytes

Database Buffers                             8187281408 bytes

Redo Buffers                                   19894272 bytes

SQL>

分类:数据库 | 标签: |

相关日志

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐