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

Last updated on OCTOBER 20, 2015

Applies to:

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

Symptoms

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.


Example:

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

 

Cause

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