cweijan / vscode-database-client

Database Client For Visual Studio Code
https://database-client.com
MIT License
2.48k stars 282 forks source link

[BUG] oracle 表字段类型的精度丢失 #769

Closed Pumaly closed 1 year ago

Pumaly commented 1 year ago

oracle表的number字段,不管精度是什么都直接显示number,比如number(1)显示的是number(22)

cweijan commented 1 year ago

谢谢反馈, 已在6.2.3版本修复.

Pumaly commented 1 year ago

辛苦了,但是今天又发现一个与精度相关的,现在19位的Id查询出来后两位为0,需要像plsql一样对Number型做to_char处理

cweijan commented 1 year ago

后两位为0什么意思呢? 自动填充0吗

Pumaly commented 1 year ago

1065545810435002370变成了1065545810435002400

Pumaly commented 1 year ago

在plsql中也会有同样的问题,不过在plsql中可以通过勾选to_char解决

cweijan commented 1 year ago

将dbclient-jdbc升级到1.2.3版本后可解决大数字精度问题.