My Oracle Support Banner

Character-Length Semantics Does Not Work As Setting In SQL*Loader (Doc ID 2671745.1)

Last updated on APRIL 17, 2023

Applies to:

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

Symptoms

When loading to a column defined as char(255 char) a row with 253 characters, it gets with: Field in data file exceeds maximum length.
This 253 character string contains several acute accents like "é", so it is actually 258 bytes when calculated in bytes.

Here is the control file being specified from SQL*Loader:

Both the control file and the target table are properly configured for character semantics. Nevertheless, 253 character loading is unacceptable.

Changes

In this environment, AL32UTF8 is used as the character set.

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
Changes
Cause
Solution


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