unwanted leading blank space on oracle number format

前端 未结 2 1635
走了就别回头了
走了就别回头了 2021-01-17 08:36

I need to pad numbers with leading zeros (total 8 digits) for display. I\'m using oracle.

select to_char(1011,\'00000000\') OPE_NO from dual;
select length(t         


        
2条回答
提交回复
热议问题