My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

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

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
Symptoms
Cause
Solution
References


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