../E23381-01.epub /> ../E23381-01.mobi />

RAWTOHEX

RAWTOHEX converts raw data to a character value containing its hexadecimal representation.

Return Value

VARCHAR2

Syntax

RAWTOHEX(raw)

Arguments

raw can be any scalar data type other than LONG, LONG RAW, CLOB, BLOB, or BFILE.

Example

RAWTOHEX(NLSSORT('Rumpelstiltskin')) converts the raw value returned by NLSSORT to the hexadecimal value 52756D70656C7374696C74736B696E00.