My Oracle Support Banner

Trailing Space At Column Value Is Omitted In Generated File When FORMATASCII Used (Doc ID 1503637.1)

Last updated on MAY 16, 2017

Applies to:

Oracle GoldenGate - Version to [Release 11.1.1 to 11.2]
Information in this document applies to any platform.


When using FORMATASCII , trailing spaces in varchar2 columns are stripped in

-- table definition
create table test (no number(10) not null, name varchar2(20), addr varchar2(20));

-- data insert
insert into test values (11115,'eeee ',' eeee') ;

-- output of generated ascii file generated
I,A,OGGADM.TEST,NO,11115,NAME,'eeee',ADDR,' eeee', <<< trailing space has been removed


This issue is only visible when FORMATASCII is used. It does not occur when a binary trail file is being used.


To view full details, 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 a vibrant support community of peers and Oracle experts.