How to fix the Oracle error ORA-13372: failure in modifying metadata for a table with spatial index?

In this post, you’ll learn more about the Oracle ErrorORA-13372: failure in modifying metadata for a table with spatial index with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-13372: failure in modifying metadata for a table with spatial index

Reason for the Error ORA-13372: failure in modifying metadata for a table with spatial index

Modifying the metadata after the index is created will cause an inconsistency between the geometry’s gtype and diminfo.

How to fix the Error ORA-13372: failure in modifying metadata for a table with spatial index ?

You can fix this error in Oracle by following the below steps

Modify (or Prepare) metadata before creating an index on the SDO_GEOMETRY column.

Tags :

Leave Your Comment