我有一个数字数据列,其中包含空值、破折号和逗号。我想删除全部并替换为 0.00。我还有一些数字是 11.4 而不是 11.40。我该如何解决?还有一些 nvl 或 round 添加逗号回来。
我尝试了一轮,我尝试做 ;;decimal(20,2),我尝试替换为 0.00。似乎什么都不起作用。
round(nvl(replace(replace(aum_total,'-',0),',',''),0)) as aum_total
Run Code Online (Sandbox Code Playgroud)