This Oracle tutorial explains how to use the Oracle/PLSQL HEXTORAW function with syntax and examples.
The Oracle/PLSQL HEXTORAW function converts a hexadecimal value into a raw value.
The syntax for the HEXTORAW function in Oracle/PLSQL is:
HEXTORAW( char )
The hexademical value to convert to a raw value.
The HEXTORAW function returns a raw value.
The HEXTORAW function can be used in the following versions of Oracle/PLSQL:
Let's look at some Oracle HEXTORAW function examples and explore how to use the HEXTORAW function in Oracle/PLSQL.
For example:
HEXTORAW('45D')
Output: '045D' (as a raw value)
HEXTORAW('7E')
Output: '7E' (as a raw value)