数据库

 首页 > 数据库 > Oracle > 从pl/sql查询字段类型为number并显示为科学计数法的计数方法的问题

从pl/sql查询字段类型为number并显示为科学计数法的计数方法的问题

分享到:
【字体:
导读:
         摘要:从pl/sql查询字段类型为number并且长度大于16位的内容显示为科学计数法的计数方法,后经查找找到了如下解决办法:1.在toad中->view->option->data->displaylargenumberinscientificnotation,不选择该... ...

从pl/sql查询字段类型为number并显示为科学计数法的计数方法的问题

从pl/sql查询字段类型为number并且长度大于16位的内容显示为科学计数法的计数方法,后经查找找到了如下解决办法: 
 
1.在toad中->view->option->data->display large number in scientific notation,不选择该选项即可 
 
在pl/sql developer中->tools->preferences->sql windows->number fields tochar,选中该选项即可。 
  www.2cto.com  
 
2.查看numw参数 
 
sql>show  numw 
 
numwidth 10 
 
修改此参数为需要位数,如: 
 
set numw 19 
 
之后查询此字段内容正常。
 
 
 
作者 fkueje001
从pl/sql查询字段类型为number并显示为科学计数法的计数方法的问题
分享到:
ORA-12838错误总结
ORA-12838错误总结 ORA-12838: cannot read/modify an object after modifying it in parallel  此错误是在调用过程中出现的。经过查询,是由于在过程中使用了append insert运行后没有及时提交造成。对于此问题,确切的解释是这样的,ORA-12838: cannot read/modify an object after modifying it in parallel   www....
oracle中的循环简析
oracle中的循环简析 一、LOOP 循环是最简单的循环,也是无限循环,只能用 EXIT 终止。   Sql代码   declare     starts number:=1;     counts number:=20;   begin     loop       dbms_output.put_line(starts);       starts:=starts+1;  www.2cto.com         exit when starts>=counts;     e...
  •         php迷,一个php技术的分享社区,专属您自己的技术摘抄本、收藏夹。
  • 在这里……