格式化字符串

1、select to_char(to_date('20070103111442','yyyy/mm/dd hh24:mi:ss'),'yyyy/mm/dd hh24:mi:ss') from dual
2、用substr拼字符串
3、select translate('abcd/ef/gh ij:kl:mn','abcdefghijklmn','20070103111442') from dual

你可能感兴趣的:(字符串)