51代码网ORACLEMYSQLSQL SERVER其它数据库java/jspasp/asp.netC/C++/VC++APP应用其它语言服务器应用
您现在的位置: 51代码网 >> oracle >> 文章正文

如何设置在sqlplus中不以科学计数法显示

更新时间:2013-7-6:  来源:51代码网

如何设置在sqlplus中不以科学计数法显示

查询语句:
select *  from inter.Pboss_Customer a
where a.customer_number ='977100002098201066';
查询结果:
CUST_ID            customer_number
7.0000E+13         977100002098201066


如何设置在sqlplus中不以科学计数法显示

select to_char(CUST_ID,'fm999999999999999990.99999')  from inter.Pboss_Customer a
 where a.customer_number ='977100002098201066';

设置列的显示格式
col .. format ...

  • 上一篇文章:
  • 下一篇文章: 没有了
  • 赞助商链接
    推荐文章
  • 此栏目下没有推荐文章
  • {
    设为首页 | 加入收藏 | 友情链接 | 网站地图 | 联系站长 |