rawtonhex converts raw to an NVARCHAR2 character value containing its hexadecimal equivalent.