RAWTOHEX converts raw to a character value containing its hexadecimal equivalent. The raw argument must be RAW datatype.
You can specify a BLOB argument for this function if it is called from within a PL/SQL block.
The following hypothetical example returns the hexadecimal equivalent of a RAW column value:
SELECT RAWTOHEX(raw_column) "Graphics" FROM graphics; Graphics -------- 7D