DataPump Export (EXPDP) Fails With Error ORA-39127 When Schema Name Contains A Single Quote (Doc ID 1318760.1)

Last updated on NOVEMBER 28, 2016

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.2 and later   [Release: 11.2 and later ]
Information in this document applies to any platform.

Symptoms

After upgrading to 11.2.0.2 the following errors are raised when trying to export with DataPump a schema with a single quote in the name:

ORA-39127: unexpected error from call to export_string :=SYS.DBMS_AW_EXP.SCHEMA_ INFO_EXP('BOURDEAUD'HUI',0,1,'11.02.00.00.00',newblock)
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.DBMS_ASSERT", line 342
ORA-06512: at "SYS.DBMS_ASSERT", line 411
ORA-06512: at "SYS.DBMS_AW_EXP", line 796
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 7564

This worked right on 11.2.0.1 and prior versions.

Changes

Applied the 11.2.0.2 patchset.

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