laptop and a wrench

Bug

Spatial Type for Oracle: Attempting to rename a table can fail with an underlying DBMS error. (Please see technical article 35222 for a suggested workaround.)

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM037121
SubmittedJuly 30, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.3
Version Fixed9.4
StatusFixed

Description

Attempting to rename an Oracle table fails with an underlying DBMS error:

"SQL> RENAME tr_conductoranno100cond_bk TO tr_conductoranno100cond;
RENAME tr_conductoranno100cond_bk TO tr_conductoranno100cond
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at line 1"

Cause

This DBMS error occurs because a local string variable's length in the sde trigger st_rename_table is not defined large enough to support an input string value.

Anytime a table is renamed in Oracle, the sde trigger st_rename_table is executed to check if the table being renamed contains a sde.st_geometry attribute and updates the st_geometry metadata accordingly in the SDE schema.

Workaround

If this error is encountered when attempting to rename a table in Oracle, please contact ESRI Support Services and reference this knowledge base (KB) article.

    Steps to Reproduce

    Bug ID: NIM037121

    Software:

    • No Product Found

    Get notified when the status of a bug changes

    Download the Esri Support App

    Related Information

    Discover more on this topic

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options