i used the oracle 11g and tried to create a spatial database, I just copied the sample code from the oracle document but when it comes to updating part of the metadata, it gave a duplicate input error and I tried delete from user_sdo_geom_metadata and it did not give any error and then tried to paste again, still got a duplicate input error. I also tried select * from user_sdo_geom_metadata , but received nothing. Does anyone have an idea why? thanks
Code example:
CREATE TABLE cola_markets ( mkt_id NUMBER PRIMARY KEY, name VARCHAR2(32), shape SDO_GEOMETRY); INSERT INTO cola_markets VALUES( 1, 'cola_a', SDO_GEOMETRY( 2003,
cause of error: in user_sdo_geom_metadata view, there are two duplicate entries for a pair of table values ββand a value table.
source share