ORA-1732 REPORTED IN DBA_APPLY_ERROR ON REPLICATING DROP COLUMN DDL IF _SIMPLE_VIEW_MERGING SET TO FALSE (Doc ID 886790.1)

Last updated on MAY 15, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]
Information in this document applies to any platform.



Symptoms

ORA-01732 IN DBA_APPLY_ERROR ON REPLICATING DROP COLUMN DDL IF _simple_view_merging =FALSE .

For example:-

If _simple_view_merging =FALSE is set to False in the Database then Replicated DROP COLUMN DDL can fail with ORA-01732 while applying at target database.

alter table TERMS3.PRODUKTE_ZU_GUTSCHEIN_AKTIONEN drop column ENUTZER;

Above command executed at stream source database and transaction failed at Apply database with ORA-01732 and reported in DBA_APPLY_ERROR.

The streams replication aborted with following message:
local transaction ID: 2.12.74300
source database: TERMSX
creation time: 09.09.09 10:53:30
error number: 1732
message text: ORA-01732: data manipulation operation not legal on this view
ORA-06512: at "SYS.LCR$_DDL_RECORD", line 256
ORA-06512: at "STRMADMIN.TERMS3_DDL_HANDLER", line 32
ORA-06512: at line 1

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