| binary to hexadecimal conversion [message #643735] |
Fri, 16 October 2015 09:08  |
 |
guddu_12
Messages: 227 Registered: April 2012 Location: UK
|
Senior Member |
|
|
Dear gurus
How to convert binary value into hexadecimal in oracle, i googled for the solution and couldn't get any clue.
Any help will be greatly appreciated.
Thanks
|
|
|
|
|
|
|
|
|
|
|
|
| Re: binary to hexadecimal conversion [message #643745 is a reply to message #643735] |
Fri, 16 October 2015 10:27  |
John Watson
Messages: 9003 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
orclz> select to_char(1234,'XXXX') from dual;
TO_CH
-----
4D2
orclz>
orclz> select bin_to_num(1,0,1,0,1) from dual;
BIN_TO_NUM(1,0,1,0,1)
---------------------
21
orclz>
[Updated on: Fri, 16 October 2015 10:32] Report message to a moderator
|
|
|
|