DBMS_STREAMS_ADM.MAINTAIN_CHANGE_TABLE > 100 COLUMNS FAIL WITH ORA-1461 (Doc ID 1641833.1)

Last updated on MARCH 31, 2014

Applies to:

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

Symptoms

Trying to configure a table which got nearly 100 columns and not able to run the MAINTAIN_CHANGE_TABLE procedure successfully.

SQL> @change_table.sql
BEGIN
*
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 5236
ORA-06512: at line 2


Applied fix 13882311 DBMS_STREAMS_ADM.MAINTAIN_CHANGE_TABLE fails with ORA-6502

And even though ORA-6502 does not happen now, the call to MAINTAIN_CHANGE_TABLE fails with:


ERROR at line 1:
ORA-01461: can bind a LONG value only for insert into a LONG column
ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 5249

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