Skip to Main Content

Oracle Database Discussions

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.

SQL Query - SDO_WITHIN_DISTANCE

438927Feb 24 2005
This is the SQL query i entered :
select a.gblob_
from sla_lbstr_int_bldg a
where SDO_WITHIN_DISTANCE(a.gblob_, (select b.gblob_
from sla_lbstr_int_bldg b
where b.postal_code='640217'), 'distance=10') = 'true';
And this is the error msg i got :
select a.gblob_
*

ERROR at line 1:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-13207: incorrect use of the [SDO_WITHIN_DISTANCE] operator
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 391
ORA-06512: at line 1
I really dont know where i went wrong. Please help.

Comments

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

Post Details

Locked on Mar 24 2005
Added on Feb 24 2005
0 comments
128 views