oracle函数 TO_NUMBER(X[[,c2],c3])

[Function] The character string into digital type X

Parameters c2, c3, character, with reference to TO_CHAR ()

[Return] numeric string

 

Instead] [to_char (date [[, c2], c3])

 

[Example]

select TO_NUMBER('199912'),TO_NUMBER('450.05') from dual;

 

 

Converted to hexadecimal.

TO_CHAR(100,'XX')= 64

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11119724.html