SQL*Loader Assistance Loading HEX Field

(Doc ID 2212452.1)

Last updated on JANUARY 16, 2017

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


How to insert HEX data into a table?

This document helps to understand how to insert HEX data into a table with conversion directly in the CONTROL file to a VARCHAR/CHAR.

i.e Generally if we load RAW data into an Oracle table the RAW field contents will be in HEX data format and later conversion needs to be done through utl_raw.cast_to_varchar2.

But is there a way to go from the HEX value in the input (flat) file straight to a readable VARCHAR/CHAR field in a table?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms