1,CONCAT 字符串拼接
Select CONCAT(TO_CHAR('0.01'*100),'%') FROM DUAL; -- 1%
Select CONCAT(TO_CHAR('0.01'*100,'990.99'),'%') FROM DUAL; -- 1.00%
2,to_char
select to_char(1234567.89,'9,999,999.99') id from dual;--1.234.567.89
select to_char(1234567.89,'999,999,999.99') id from dual;--1.234.567.89
select to_char(1234567.89,'009,999,999.9900') id from dual;--001.234.567.8900
select to_char(1234567.89,'9.99EEEE') id from dual;--1.23E+06
select to_char(1234567.89,'999999.99EEEE') id from dual;
select to_char(-1234567.89,'999,999,999.99PR') id from dual;--<1.234.567.89>