Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-13207: incorrect use of the [SDO_RELATE] operator

30154Aug 27 2004 — edited Oct 19 2004
Table 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?

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 16 2004
Added on Aug 27 2004
12 comments
516 views