Oracle 字符串拼接会出现0自动忽略,解决方案

解决方案

select decode(substr(num,1,1),'.','0'||num,num) from table_name

参考:https://blog.csdn.net/menghuannvxia/article/details/73089903

posted @ 2018-06-27 12:49  dqcer  阅读(732)  评论(0编辑  收藏  举报