首页
技术人生
登录
6mi
u
盘
搜
搜 索
技术人生
sql中分母为零处理
sql中分母为零处理
技术
2022-05-11
110
select a, b, a/b from tabName 当b=0时出错,解决方法: select a, b, (case when b=0 then 0 else a/b end) from tabName
转载请注明原文地址: https://ibbs.8miu.com/read-9588.html
专利
最新回复
(
0
)