My Oracle Support Banner

SQL*Loader Assistance Loading HEX Field (Doc ID 2212452.1)

Last updated on AUGUST 04, 2018

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?


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.