在oracle8i以上版本中,可以用to_char与to_number 实现10进制和16进制的转换:select to_char(100,'XX') from dual;10-16;select to_number('A','XX') from dual;16-10;