My Oracle Support Banner

Errors Generated During Upgrade of Oracle Spatial Database Component ORA-13199: MOVE TABLE=ORA-02216: Tablespace Name Expected (Doc ID 2684806.1)

Last updated on JULY 12, 2020

Applies to:

Oracle Spatial and Graph - Version 18.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

During upgrade to 18c, SDO script prvtimd.plb failed with error:

      ERRORS FOUND: During Upgrade
         FILENAME:
/oracle/app/oracle12/product/18/cfgtoollogs/orcl/upgrade20190124101703/catupgrd0.log AT LINE NUMBER: 1058308
------------------------------------------------------
Identifier SDO 19-01-24 10:43:28
SCRIPT   = [/oracle/app/oracle12/product/18/md/admin/prvtimd.plb]
ERROR   = [ORA-13199: MOVE TABLE=ORA-02216: tablespace name expected
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at line 97
]
STATEMENT = [DECLARE
  stmt varchar2(4000);
  tblspc varchar2(260);
...
...
...
stmt := 'ALTER TABLE "MDSYS"."SDO_TXN_JOURNAL_REG" MODIFY DEFAULT ATTRIBUTES TABLESPACE ' || tblspc;
execute immediate stmt;

exception
  when e_block_size then
    NULL;
  when others then
    sys.dbms_system.ksdwrt(2, 'Value of tblspc is >'||tblspc||'< at position 2');
    MDERR.RAISE_MD_ERROR('MD','SDO',-13199, 'MOVE TABLE=' || SQLERRM);
      end;
...

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.