How to convert binary to hexadecimal
Hi guys,
I have a string variable with whose value is binary and I need to convert this binary value to hexadecimal value.
For instance:
declare
v_StrBinary varchar2(100) := '1001';
v_Hexa_Result varchar2(100);
begin
v_hexa_result := FUNC_???( v_StrBinary ); --> here I need to convert this binary value to hexadecimal value
dbma_output.put_line( v_hexa_result ); --> need to result in '9' value
end;
/
Thank you,
Luciana