注册登录
技术社区
反馈、探讨、分享框架使用过程中的各种问题。
我要回贴Oracle数据库取不到数据
sql语句大概是这样:
select total/amount from order_infos where deltag=0
不知道是什么原因,在plsql里能正常执行。
luoxuanwei 2024-06-01 21:12:13 379
admin
试了一下,确实返回不了数据。原因是返回数据有精度超过了数据库组件的支持范围了。
改成这种试试:
select round(total/amount,0) from order_infos where deltag=0
2024-06-02 09:31:10
luoxuanwei
可以了,谢谢!
2024-06-03 19:28:46
登录后回帖