My Oracle Support Banner

Insert Failing On MDSYS.CS_SRS (Doc ID 3079519.1)

Last updated on APRIL 04, 2025

Applies to:

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

Symptoms

INSERT INTO mdsys.cs_srs VALUES (
  'OBJ_1',
  2100001, 2100001,
  <geometry data> ...

SQL Error: ORA-00001: unique constraint (MDSYS.COORD_REF_SYSTEM_PRIM) violated
ORA-06512: at "MDSYS.SDO_CRS_INSERT_TRIGGER", line 35
ORA-04088: error during execution of trigger 'MDSYS.SDO_CRS_INSERT_TRIGGER'
ORA-06512: at "MDSYS.CS_SRS_TRIGGER", line 12
ORA-04088: error during execution of trigger 'MDSYS.CS_SRS_TRIGGER'
00001. 00000 - "unique constraint (%s.%s) violated"

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
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.