LLS Fields Are Not Properly Loaded By SQL*Loader

(Doc ID 2387364.1)

Last updated on MAY 02, 2018

Applies to:

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

Symptoms

SQL*Loader does not load LLS fields properly. The LLS fields have a +1 offset in comparison with DB2 data.

Below is a short description of the issue:

1. In DB2 we have inserted:


CREATE TABLE TIGER ( ID SMALLINT, C CLOB)

INSERT INTO TIGER (ID, C) VALUES (1, 'Dražen')
INSERT INTO TIGER (ID, C) VALUES (2, 'Zoran')
INSERT INTO TIGER (ID, C) VALUES (3, 'Svemir')
INSERT INTO TIGER (ID, C) VALUES (4, 'Darko')

 2. When we insert into Oracle database with SQL*Loader LLS option we get:

SELECT ID, C FROM TIGER;

ID C
---------- ------------------------------------------------------
2 Zoran
3 nSvemi
4 rDark
1 oDraže

 3. Lob file details:

2,'TIGERLOB.001.lob.0.5/'
3,'TIGERLOB.001.lob.5.6/'
4,'TIGERLOB.001.lob.11.5/'
1,'TIGERLOB.001.lob.16.7/'

-- content of resulting file TIGERLOB.001.lob :
ZoranSvemirDarkoDraže

 

Changes

 

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