CDC Publisher Without DBA Role Fails To Drop a Change Table Ora-21001 (Doc ID 1050879.1)

Last updated on JANUARY 19, 2010

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4 - Release: 10.2 to 10.2
Information in this document applies to any platform.

Symptoms

* CDC Asynchronous Hotlog mode.
* Created CDCPUB (Publisher - CDC Admin User), without DBA privilege
* This user created the change tables, however when trying to drop any, gets:

exec DBMS_CDC_PUBLISH.DROP_CHANGE_TABLE('CDCPUB','DNLD_SYS_CT','Y');

ERROR at line 1:
ORA-21001: error number argument to raise_system_error of is out of range
ORA-06512: at "SYS.DBMS_CDC_PUBLISH", line 650
ORA-06512: at line 1


If granting DBA, DROP_CHANGE_TABLE executes successfully



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