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.

Can mdsys.sdo_relate return FALSE?

19639Jul 2 2002
I have the following query:
SELECT MIN (dtczas) dtczas
FROM sd_car_location
WHERE dyza_id = 2
AND dtczas > '24-JUN-2002 11:06:48'
AND mdsys.sdo_relate(
geom,
MDSYS.SDO_GEOMETRY( 2003, NULL, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3),
MDSYS.SDO_ORDINATE_ARRAY( 3734329.56686484, 5567865.09443332,
3735261.90177227, 5568277.30732063 )
),
'mask=ANYINTERACT querytype=WINDOW') = 'FALSE'

while executing this query I receive:
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

so, is it possible to use sdo_relate in such way? When I try "<> 'TRUE'" or "AND NOT .... = 'TRUE'" index is not used.
Thanks in advance for help.

regards

Krzysztof

Comments

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

Post Details

Locked on Jul 31 2002
Added on Jul 2 2002
2 comments
228 views