sdo_within_distance
680483Jan 29 2009 — edited Feb 1 2009When I try to run this sql:
select p.state_name from usa p where
sdo_within_distance(p.geom,
(select geom from usa where state_name = 'California'),
'distance=450 unit=km'
) = 'TRUE';
I recieve the following error:
ORA-29902: error in executing ODCIIndexStart() routine
ORA-13207: incorrect use of the [No UNIT support without SRID] operator
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 286