My Oracle Support Banner

SQL*Loader Cannot Load Some Raw Data When NLS_LANG is Multi-Byte (Doc ID 2065115.1)

Last updated on FEBRUARY 03, 2019

Applies to:

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


SQL * LOADER will not successfully load the binary data to RAW datatype column, if the following conditions are met:

  1. You have specified the multi-byte character set to NLS_LANG and Database.
  2. The record delimiter is specified after binary data(binary data is specified as last column in loader control file).
  3. Binary data's last byte is first byte of multi-byte charcterset.
  4. The record delimiter is more than 2 bytes.


If you have set the NLS_LANG to the character set JA16SJIS and run the data load with the SQL * Loader as following:



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.