ORA-13207: incorrect use of the [SDO_RELATE] operator
30154Aug 27 2004 — edited Oct 19 2004Table POINTS has about 6500000 rows. Trying to find duplicate geometries (Oracle EE 9.2.0.1.0
on Windows platform):
SELECT /*+ ORDERED */
b.gid, a.gid
FROM points b, points a
WHERE SDO_RELATE (a.sdogeometry, b.sdogeometry, 'mask=EQUAL querytype=WINDOW') = 'TRUE'
AND a.gid != b.gid;
I got the following:
ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-13207: incorrect use of the [SDO_RELATE] operator
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 84
ORA-06512: at line 1
Any idea ?
It worked on small (test) table.
Would it be better to use querytype=JOIN instead of querytype=WINDOW?